User Profile
Collapse
-
Thanks all, it Worked correctly:) -
To count the total number of specific element in xml using xsl
Hi,
Is there any option to count the total number of specific element using XSL?
XML File:
<root>
<child>Name:
<child1>Text1 </child>
<child1>Text2 </child>
<child1>Text3 </child>
</child>
</root>
I need to count the total number of element <child1> to be calculated... -
Thanks for info but it is not a simple xml file. It is a big xml file with lot of elements. I have tried the above sample, but it is not resulting the desired output. The xml file is actually looks like:
<site.info number="009" snumber="0122" wnumber="AtoZ" type="text"><it al>Rose,</ital> running text</site.info>
here it want to remove the element <ital>,...Leave a comment:
-
To delete a unwanted sub element using xsl
I have xml like
<root>
<parent>
<child1>Text</child1>
</parent>
</root>
I want to delete the unwanted sub element <child1> and output would be like <parent>Text</parent>.
Thanks in advance. -
Clarification to replace the & symbol to & in xml using XSL
Hi all,
Here, a xml file is not in proper format. I need to replace the "&" symbol to "&" under the attributes. Find below the sample xml file for glance:
<root>
<child1>
<child2 attribute1="tes t&test">Testing </child2>
<child1>
</root>
Let me know how to resolve this instance. I need output like...
No activity results to display
Show More
Leave a comment: