[xsl] start-stopping xml output

Subject: [xsl] start-stopping xml output
From: geoff hopkins <geoffhopkins123@xxxxxxxxx>
Date: Thu, 22 Sep 2005 01:20:15 -0700 (PDT)
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