Subject: Re: [xsl] default namespace on input document From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 15 Feb 2011 15:35:13 +0100 |
I'm having trouble matching a template in XSLT2. When I add a default namespace to my input document, my templates no longer match any elements.
Input:
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml">
<xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Put xpath-default-namespace="http:/www.w3.org/1999/xhtml" here as an attribute on the xsl:stylesheet element.
exclude-result-prefixes="xsl">
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] default namespace on input do, Merrilees, David | Thread | Re: [xsl] default namespace on inpu, Andrew Welch |
[xsl] default namespace on input do, Merrilees, David | Date | Re: [xsl] default namespace on inpu, Andrew Welch |
Month |