Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - Retrive the entire path from the leaf node

 
Thread Tools Search this Thread
Old 09-23-2009, 01:03 PM   #1
Default Retrive the entire path from the leaf node


Hi All,

I have a xml like :

<?xml version="1.0" encoding="UTF-8"?>
<CPOs xmlns:fn="link1" xmlnss="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
ananda121 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scarface poster made out of entire script JimRibs@gmail.com DVD Video 0 11-13-2005 09:20 AM
TheDigitalReview: THE CRITIC - THE ENTIRE SERIES - DVD REVIEW Mike McGee DVD Video 2 01-27-2004 04:35 AM
Entire "Police Academy" coming to DVD Michael Allred DVD Video 17 01-07-2004 02:50 AM
Entire Freakazoid Series on DVD on ebay Nikolay Gogol DVD Video 0 01-04-2004 04:46 AM
FS: 29 DVD's Entire Lot Larry Krause DVD Video 0 10-25-2003 12:54 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46