[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: namespace problem
On 09/11/14 14:50, Wendell Piez wapiez@xxxxxxxxxxxxxxx wrote:
As to your question (how to match in the xhtml namespace only), one helpful insight could be that the prefixes used in the XSLT do *not* have to be the same as the prefixes used in the source documents (which, indeed, may not always be consistent with one another either). Or anywhere else. Only the namespaces must correspond; the prefixes are only a way to get to the namespaces. Hi Wendell and Wolfgang, got it. Thanks for your explanation. The latter was exactly what I tried, but what did not work for me. What made me ask the question. I must have forgotten to specify the mode attribute so that the template did not fire. Very glad to be on the 'understanding' track again. I use saxon, and indeed, it gives a warning.Indeed, a helpful processor, when it sees both of these together in the same XSLT, will warn you that you have a template clash. (Try it. :-) Thank you both for helping me! Ruud
|
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
|