[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Using XSLT to change XML and modify node with XPat

Subject: Re: Using XSLT to change XML and modify node with XPath
From: kheris <kheris@xxxxx>
Date: Wed, 04 Feb 2009 09:04:52 +0100
Re:  Using XSLT to change XML and modify node with XPat
Hello David,

Thank you for help. XML node name was just accident during creating
the examples:) I am using Altova XmlSpy

However, output i get is only:
Var10SubVar012Var21Var1SubVar

But as i see in code, it still won't work as expected. The procedure i
am looking for is something like:
1) i reach the node var-path
2) i meet the node path. I get the value, and i search for /def[name=value]
3) i meet the second node path in current var-path. I get the value,
and now i search for
/def[name=value_of_path_before]//def[value_of_path_now]
4) etc.
So, i use previously found node as starting node now. What is more, i
need to use //, as structure of path can be deeper then explicitly
said. But i can return only first found node (so, if more nodes
satisfy that, i get always the first one).

Is that possible in XSLT?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.