Newline character in properties file and XML
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harish_P
Posted On:   Thursday, September 23, 2004 08:54 AM

Hi,


In my application, i'm fetching some values from properties file and then converting it into XML by using DOM and weblogic.apache.xml.serialize.XMLSerializer.



Now, i want to have a newline character to be passed in XML (which takes the value from properties file).
Any idea how can i do that ???

Re: Newline character in properties file and XML

Posted By:   sujata_samal  
Posted On:   Tuesday, October 5, 2004 01:44 AM

Hai..
U need not put any new line in ur property file.

One property file is already there.

u can reuse that..

System.getProperty("line.separator").


Thx

sujata
About | Sitemap | Contact