Retrive the entire path from the leaf node

Joined
Sep 23, 2009
Messages
1
Reaction score
0
Hi All,

I have a xml like :

<?xml version="1.0" encoding="UTF-8"?>
<CPOs xmlns:fn="link1" xmlns:xs="link2">
<CPO type="topinfo" timed="no">
<field name="dataprovider" />
<field name="description"/>
<field name="entry">
<field name="user"/>
<field name="machine"/>
<field name="shot"/>
<field name="run"/>
</field>
<field name="parent_entry">
<field name="user"/>
<field name="before_leaf">
<field name="user1"/>
<field name="machine2"/>
<field name="shot1"/>
<field name="run1"/>
</field>
<field name="machine"/>
<field name="shot"/>
<field name="run"/>
</field>

</CPO>
</CPOs>

I have to retrieve the data as ;

topinfo.dataprovider
topinfo.entry.user
topinfo.parent_entry.before_leaf.user1

Using XSLT.
Can anybody please help me to solve this.

Thanks in Advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top