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]
Other format: [Raw text]

Template priority


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



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