[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    XML Strings with special Characters
From:       kathiresan jeyapandian <j_kathiresan () yahoo ! co ! in>
Date:       2006-07-13 13:09:24
Message-ID: 20060713130924.34506.qmail () web8507 ! mail ! in ! yahoo ! com
[Download RAW message or body]

Hi All,
   
         I am trying to set the string content of an element.
         I simply do parentName.setName("kathir&"); 
         The problem is that the string contains ampersands (&). In the xml i am \
getting & instead of getting &amp;  I need to get the output xml with & as &amp;
   
  Please help me.
  Thanks,
J.Kathir
   

 				
---------------------------------
 Find out what India is talking about on  Yahoo! Answers India.
 So, what’s NEW about the NEW Yahoo! Messenger? Find out.


[Attachment #3 (text/html)]

<div>Hi All,</div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am \
trying to set the string content of an element.</div>  \
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I simply do \
parentName.setName("kathir&amp;"); </div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
The problem is that the string contains ampersands (&amp;). In the xml i am getting \
&amp; instead of getting &amp;amp;</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I \
need to get the output xml with &amp; as &amp;amp;</div>  <div>&nbsp;</div>  \
<div>Please help me.</div>  <div>Thanks,<BR>J.Kathir</div>  <div>&nbsp;</div><p>&#32; \


	
		<hr size=1></hr> 
Find out what India is talking about on  <a \
href="http://us.rd.yahoo.com/mail/in/mailanswersshare/*http://in.answers.yahoo.com/">Yahoo! \
Answers India.</a><br>  So, what’s NEW about the NEW Yahoo! Messenger? <a \
href="http://us.rd.yahoo.com/mail/in/mailmessenger/*http://in.beta.messenger.yahoo.com/">Find \
out.</a>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic