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]

applying the same template to 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

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