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

start-stopping xml output

Subject: start-stopping xml output
From: geoff hopkins <geoffhopkins123@xxxxxxxxx>
Date: Thu, 22 Sep 2005 01:20:15 -0700 (PDT)
stopping points
is the following possible in a XSLT script, thanks for
any help in advanced.

<root>
	<item>A</item>
	<item>BOB1</item>
	<item>BOB2</item>
	<item>BOB3</item>
	<item>BOB4</item>
	<item>B</item>
	<item>BOB5</item>
	<item>BOB6</item>
	<item>A</item>
	<item>BOB7</item>
	<item>B</item>
	<item>A</item>
	<item>BOB8</item>
	<item>BOB9</item>
	<item>B</item>
	<item>BOB10</item>
</root>


when it finds A (start point) it moves onto the node
and starts reading until it finds the next occurence
of B (stop point).  When it finds the next occurance
of A it then follows the same rule stated above.

And so on...there could be one occurance of START/STOP
points or multiple.

so the output for this example would look something
like this

<root>
	<item>BOB1</item>
	<item>BOB2</item>
	<item>BOB3</item>
	<item>BOB4</item>
	<item>BOB7</item>
	<item>BOB8</item>
	<item>BOB9</item>
</root>




		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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.