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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top