[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Matching a local scope name
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|