Retrive the entire path from the leaf node

Discussion in 'XML' started by ananda121, Sep 23, 2009.

  1. ananda121

    ananda121

    Joined:
    Sep 23, 2009
    Messages:
    1
    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
    ananda121, Sep 23, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. viveknatani@gmail.com
    Replies:
    0
    Views:
    1,448
    viveknatani@gmail.com
    Feb 13, 2006
  2. Alexandre Jaquet

    [JTree] Adding a leaf to a node

    Alexandre Jaquet, Nov 8, 2003, in forum: Java
    Replies:
    0
    Views:
    613
    Alexandre Jaquet
    Nov 8, 2003
  3. Alexandre Jaquet

    [JTree] click on a node or a leaf

    Alexandre Jaquet, Nov 10, 2003, in forum: Java
    Replies:
    2
    Views:
    4,596
    Matthew Zimmer
    Nov 11, 2003
  4. mazdotnet
    Replies:
    1
    Views:
    7,625
    mazdotnet
    Aug 1, 2006
  5. Uriah Piddle

    Leaf Node in SiteMapPath

    Uriah Piddle, Sep 15, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    772
    Uriah Piddle
    Sep 17, 2006
Loading...

Share This Page