[Home] [By Thread] [By Date] [Recent Entries]

Subject: Simple template matching problem
From: Steve <subsume@xxxxxxxxx>
Date: Mon, 7 May 2007 12:43:52 -0400
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>

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member