xsl-list
[Top] [All Lists]

[xsl] Simple template matching problem

2007-05-07 09:44:11
I want a template to match the root node of either default.xml or record.xml

Right now it only succesfully matches record.xml

default.xml

<root>
  <stuff />
</root>

record.xml

<Records>
  <Record />
</Records>

Current xsl:

<xsl:template match="root | Records">
 hey, hey. We are, in fact, the monkeys.
</xsl:template>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--