[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] save specific nodes from the tree and form a xml
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|