facing problem with the xml elements markup tags


hi all,

 

i generating below code in xml using javascript

 

<validation>

<field>firstname-y</field>

<message>didnt  fill  firstname</message>

</validation>

<validation>

<field>secondname-y</field>

<message>didnt  fill  secondname</message>

</validation>

<validation>

<field>address-y</field>

<message>didnt  fill  address</message>

</validation>

<validation>

<field>comments-y</field>

<message>didnt  fill comments</message>

</validation>

when xml generated,i markups "<" , ">" converted &lt; , &gt;

the code looks this

&lt;validation&gt;

&lt;field&gt;firstname-y&lt;/field&gt;

&lt;message&gt;didnt fill firstname&lt;/message&gt;

&lt;/validation&gt;

&lt;validation&gt;

&lt;field&gt;secondname-y&lt;/field&gt;

&lt;message&gt;didnt fill secondname&lt;/message&gt;

&lt;/validation&gt;

&lt;validation&gt;

&lt;field&gt;address-y&lt;/field&gt;

&lt;message&gt;didnt fill address&lt;/message&gt;

&lt;/validation&gt;

&lt;validation&gt;

&lt;field&gt;comments-y&lt;/field&gt;

&lt;message&gt;didnt fill comments&lt;/message&gt;

&lt;/validation&gt;

 

how overcome ?.i tried using ascii equvalent , unicode equivalent 2 markups.but got same result.

please can suggest how symbols in generated xml.

its urgent requirement me.

 

thanks,

manjula

function(){return a.apply(null,[this].concat($a(arguments)))}

how overcome this?

 

fix javascript.

 

post here if need help.



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support