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

Filtering with multiple templates

Subject: Filtering with multiple templates
From: Dongling Ding <dling61@xxxxxxxxx>
Date: Thu, 6 Nov 2003 18:55:21 -0800 (PST)
multiple templates xsl
Hi,

I have a difficult situation here and try to get your
help.

There is the following XML:

<Member name="x">
  <Member name="y"/>
  <Member name="z">
      <Member name="z1"/>
      <Member name="z2"/>
  </Member>
  <Member name="w"/>
</Member>

We need to allow multiple templates to select some of
members. for example, 

the first template will get:
<Member name="x">
  <Member name="z"/>
</Member>

the second template will get:
<Member name="x">
  <Member name="w"/>
</Member>

If we run this two templates sequentially, we will
get:
<Member name="x">
  <Member name="z"/>
</Member>
<Member name="x">
  <Member name="w"/>
</Member>

But we want to get the following based on the original
structure:

<Member name="x">
  <Member name="z"/>
  <Member name="w"/>
</Member>

Please provide any idea that might help. Thanks a lot.


Dongling


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

 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.