Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Gaikwadk

Pages: [1]
1
Hello All,
       I have written a Jscript which returns output field in XML format, which is a field I am including in template fragment as a custom field.
But as observed there is a fixed format for the XML output.
<EADATA>

 <Dataset_0>

   <Data>

     <Row>
            <MyData> name</Mydata>
       
     </Row>

   </Data>

 </Dataset_0>

</EADATA>

Now if I want another row inside <Row> then I am not able to create new row inside the existing row.

var xmlRow1 = xmlDOM.createElement( "Row1" );
xmlRow.appendChild(xmlRow1);

or is there any changes in the name of field to be made if I add another row inside existing row,which I will be including in Custom field inside fragment.

custom>
{MyData}
<custom

Please suggest any solution.
with example will be good for undersatnding.
Thank you.

Pages: [1]