XML problem

Reply

Join Date: Jun 2005
Posts: 23
Reputation: Rete is an unknown quantity at this point 
Solved Threads: 1
Rete Rete is offline Offline
Newbie Poster

XML problem

 
0
  #1
Aug 5th, 2005
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?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1623 | Replies: 0
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC