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

conditional copying of nodes?

Subject: conditional copying of nodes?
From: "Hewko, Doug" <Doug.Hewko@xxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2001 14:03:43 -0400
conditional copying
How can I do conditional copying of nodes? For example, I have the following
XML snippet, with an individual being in one or many groups. I am doing a
Muenchian method sort, which works. (Thanks Jeni!) The problem is that I am
unable to put someone more than one group unless I physically duplicate
their record. In the example below, I would copy my name, e-mail and phone
twice; once using the <group> of "Core Group" and once using "Steering
Committee".


XML:
<teammembers>
	<member contact="yes">
	    <group>Core Team</group>
	    <group>Steering Committee</group>
		<name>
			<given_name>Doug</given_name>
			<last_name>Hewko</last_name>
		</name>
		<e_mail>doug.hewko</e_mail>
		<phone>
			<number>555-1234</number>
		</phone>		
	</member>
	<member contact="yes">
	    <group>Core Team</group>
		<name>
			<given_name>John</given_name>
			<last_name>Doe</last_name>
		</name>
		<e_mail></e_mail>
		<phone>
			<number>342-1234</number>
		</phone>		
	</member>

</teammembers>

 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.