Subject: Re: [xsl] Matching a local scope name From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Wed, 15 Sep 2010 15:14:22 +0200 |
A third option would be to employ @mode of <template>. -W On 15 September 2010 14:29, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote: > > > 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, Andrew Welch | Thread | [xsl] Are there any XSLT processors, Costello, Roger L. |
[xsl] Are there any XSLT processors, Costello, Roger L. | Date | Re: [xsl] Are there any XSLT proces, Martin Honnen |
Month |