Subject: Re: [xsl] template matching using namespace From: Florent Georges <darkman_spam@xxxxxxxx> Date: Wed, 29 Nov 2006 12:26:23 +0100 (CET) |
Nima Kaviani wrote: Hi > if I apply my template to the XML file above then it will catch all > the three elements. is there any way I can find out which one is > currently being caught by the current template that the program > counter is in? Use the self:: axis: <xsl:if test="self::constraint:And"> ... </xsl:if> Don't use name() or local-name() to test the name of an element or attribute if you statically know the name to test. > My second question, is there any way I can identify and copy those > parts of the code that have not been caught by any of the defined > XSLT template, to the output? Sorry, I didn't understand this question. Regards, --drkm ___________________________________________________________________________ Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses http://fr.answers.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] template matching using n, James A. Robinson | Thread | Re: [xsl] template matching using n, James A. Robinson |
Re: [xsl] template matching using n, James A. Robinson | Date | Re: [xsl] invoking nodes from multi, Florent Georges |
Month |