This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Template priority
- From: Brian Grainger <granam at shaw dot ca>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 17 Jun 2002 20:34:08 -0600
- Subject: [xsl] Template priority
- Reply-to: xsl-list at lists dot mulberrytech dot com
I need to apply two different templates respectively against two different
elements, both of which unfortunately have the same name, but different
parents and attribute sets.
The input xml is of the general form
<root>
<x>
<z bunny="bugs farmer="fudd"/>
</x>
<y>
<z birdy="tweety" puddytat="sylvester"/>
</y>
</root>
What would be the recommended way to differentiate the two templates?
Parentage? Priority? Mode? Something else?
Any pointers greatly appreciated.
Regards,
Brian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list