Re: [xsl] Template priority

Subject: Re: [xsl] Template priority
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Mon, 17 Jun 2002 20:09:43 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 19:34 17/6/02, Brian Grainger wrote:
><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?

Well, priority alone can't distinguish "z" from "z", nor can mode.  You'll 
need to actually have different templates, and so parentage seems the right 
way to do it.

~Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPQ6kd6xS+CWv7FjaEQKeugCfaDr9x/M+fuB1ZvZe+uvNzyiyjqQAn37b
P/u4iCFaQ4DtOdP8NQleSt+h
=ECG0
-----END PGP SIGNATURE-----


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread