Subject: [xsl] save specific nodes from the tree and form a xml From: "Senthil Nathan" <rsennat@xxxxxxxxx> Date: Wed, 5 Sep 2007 12:05:45 +0530 |
Hi All, Suppose orig.xml is as below, <Root> <Parent> <Child1 Apply="1"> <Value>100</Value> </Child1> <Node2> <Value>0</Value> </Node2> </Parent> </Root> I need to save only the nodes which has the flag "Apply=1" along with the complete hierarchy in another xml file. And not its other children. -->new.xml would be as, <Root> <Parent> <Child1 Apply="1"> <Value>100</Value> </Child1> </Parent> </Root> I just used a simple example here. Actually the original xml file will be a large file. Please let me know, how the xslt has to be, to transform the orig.xml to new.xml. Thanks Senthil
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] html as input to xslt, Owen Rees | Thread | [xsl] Client-side on PDAs?, Colin Adams |
RE: [xsl] Special string manipulati, Meyer, Roland 1. (NS | Date | RE: [xsl] [XSL] Accessing part of t, Michael Kay |
Month |