[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:17:40
Message-ID: 20060713131740.60790.qmail () web8515 ! 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><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