|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Break Point in XML document: XPATH??
Hi all,
I had earlier emailed regarding a break point in the an xml document. I need to transform the following document into another Xml document such that any tag below "break" should not be displayed. The XSLT transformation is such that I am having to do this from the <xsl:template match= "elem1"> block. So my context or current node is <elem1>. How do I do it from here. I am having difficulty in writing the proper XPath exressions for this. Any help is greatly appreciated. Thanks Chandra <root> <elem1> data1 </elem1>
<!---Below this all should be removed except for root tag--> <elem2> <selem2> <ssubelem2> <sssubelem2 attr="break">break </sssubelem2> </ssubelem2> </selem2> </elem2>
<elem2> <selem2> data2 </selem2> </elem2> </root> _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








