Subject: Re: [xsl] Matching a local scope name From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Wed, 15 Sep 2010 13:29:42 +0100 |
> Suppose I want a template to just match the later > > <template match="section"> > > Would match all three (?) > > <template match="master/section" > > might do the trick but suppose there is another "master" locally defined > elsewhere that I DONT want to match. You have 2 options, 1 - make the match patterns more specific, or 2 - be more selective when you apply-templates. Your template will only get used if you call apply-templates, or let the inbuilt templates kick in and call apply-templates. If in doubt, post a small, complete example input and required output. -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Matching a local scope na, Wendell Piez | Thread | Re: [xsl] Matching a local scope na, Wolfgang Laun |
Re: [xsl] Matching a local scope na, Andrew Welch | Date | [xsl] Are there any XSLT processors, Costello, Roger L. |
Month |