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

applying the same template to multiple tags

Subject: applying the same template to multiple tags
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Thu, 27 Jul 2000 15:50:32 -0500
xsl match multiple tags
Please bear with another question from a novice...

Currently I have some help that I must display that contains a number of
different tags, e.g., "...click on the <menu>menu name</menu>, and pick
<option>option name</option>.  The program will bring up the <screen>screen
name</screen>..."

in my XSL, I currently have
   <xsl:template match="menu">...
   <xsl:template match="option">...
   <xsl:template match="screen">...

Given that I'm really stuck with about 15 different tags, and they're all
formatted identically, I'd like to change this so that I can use the same
template for multiple items that are formatted identically (i.e., something
that does    <xsl:template match="menu or option or screen or...">...), so I
don't need to change all 15 items every time someone decides they should
look different.

Can someone tell me how to do this?

Thanks.  Eric : )


 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.