This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Newbie Question: Filtering Elements out of a Collection



I apologise in advance if this is in a list FAQ.

I have this rather simple xml file that contains the following:

<shapeCollection>
	<shapeSet id="ID01">
		<square/>
		<rectangle/>
		<ellipse/>
	</shapeSet>
	<shapeSet id="ID02">
		<circle/>
		<square/>
		</shapeSet>
	<shapeSet id="ID03">
		<circle/>
		<ellipse/>
	</shapeSet>
	<shapeSet id="ID04">
		<circle/>
		<octagon/>
	</shapeSet>
</shapeCollection>


	Where there is an arbirary number of shapeSets. How would I generate a
collection of shape sets that didn't contain any shape set that had an
ellipse in it? I would think this is a rather simple xslt script but I admit
that I'm so new at this that the idea of it is elluding me.

Jeremy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]