944,156 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1727
  • ASP.NET RSS
Aug 5th, 2005
0

XML problem

Expand Post »
Ummm, I'm not sure if this is the right place to post this question, but I've been having some problems with XML. I'm using Java to make an XML file that breaks apart classes into segments, but for some reason, it won't allow me to input newlines.

  <?xml version="1.0" ?> 
- <classInformation>
- <className>
  XMLBuild 
  <superClass>class java.lang.Object</superClass> 
  <classes /> 
  <methods>public java.lang.String XMLBuild.CreateXML(java.lang.Class) throws java.io.IOException private static java.lang.String XMLBuild.Version() private static void XMLBuild.Methods(java.lang.Class,java.io.FileOutputStream) private static void XMLBuild.Fields(java.lang.Class,java.io.FileOutputStream) private static void XMLBuild.Classes(java.lang.Class,java.io.FileOutputStream)</methods>    <fields /> 
  </className>
  </classInformation>

I'm putting in new lines every time I post a different method, but when I open the XML file after I make it, those linebreaks dissappear. Is this an automatic thing that I can't fix?
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Rete is offline Offline
23 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: why does vs.net create subdirectories for new projects?
Next Thread in ASP.NET Forum Timeline: How to add to a result





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC