Endline Character in XML Attribute

R

Ravi

Hi,
I want to use end line character('\n') in the XML Attribute like
<message confirm=" This will kill your process . \n Are you sure to
proceeed? "/>

But in java xml processor, it is considered as two characters "\" and
"n".
I used the xml encoding type as "ISO-8859-1".

Pls any one help me on it ?...

Thanks,
Ravi
 
A

Andrew Thompson

Ravi wrote:
....
I want to use end line character('\n') in the XML Attribute like
<message confirm=" This will kill your process . \n Are you sure to
proceeed? "/>

But in java xml processor,

(as in any XML processor)
...it is considered as two characters "\" and
"n".
I used the xml encoding type as "ISO-8859-1".

Pls any one help me on it ?...

comp.text.xml?

Oh wait! I see you have already found it!

Please refrain from multi-posting.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,796
Messages
2,569,645
Members
45,371
Latest member
TroyHursey

Latest Threads

Top