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

Template matching attribute

Subject: Template matching attribute
From: "Kalyan Kumar Mudumbai" <kalyan_tech@xxxxxxxxxxxxxx>
Date: 6 Sep 2002 05:36:58 -0000
template matching attribute
Hi, is there any way to invoke a template when an attribute is found or to write a template that matches an attribute which might occur in several nodes.
For example, when I am merging two files, and I have an element in file 1 like this.


<Currency Unit="DOL">50</Currency>

and in file 2 I have an element:

<Unit key="DOL" val="$"/>

In the output I should get it as:

<Currency Unit="$">50</Currency>

There are various such elements in File 1 and various such Key, value pairs in File 2. Can someone please help me out.

Thanks,
Kalyan

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.