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

BreakPoint in an xml document

Subject: BreakPoint in an xml document
From: "Chandra -" <pchandramohan@xxxxxxxxxxx>
Date: Thu, 02 Jan 2003 21:25:47 -0500
breakpoint xml
Hi all,
First of all, WISH YOU ALL A VERY HAPPY AND PROSPEROUS NEW YEAR.
Heres my question:
I am currently converting one xml file into another using a XSL
stylesheet. However, the original xml file contains a tag which is like a "break point". Anything tag below this breakpoint shouldn't be
processed.
For eg:
<level1>
<level2>
.....
</level2>
<level2>
...
</level2>
<level2>
...<BREAK>BreakPoint</BREAK>
</level2>
<level2
....
</level2>
<level2>
.....
</level2>
</level1>


In the above example, any tag below <BREAK> shouldn't be processed i.e
all <level2> tags and their children that come below <BREAK> shouldn't be processed.When I say "shouldn't be processed", I mean that the tags or their contents shouldn't be displayed in the final transformed document. Is this possible using a XSL stylesheet? I am guessing its not and the only solution is parse it using DOM in java?
Thanks in advance
Regards,
Chandra



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.