Subject: RE: [xsl] Optional namespace declaration in XML document From: "Fraser Goffin" <goffinf@xxxxxxxxxxx> Date: Mon, 01 May 2006 15:38:46 +0100 |
Is there any way to have one XSLT 1.0 stylesheet handle situations where the XML input has different namespace declarations?
<mydata xmlns="urn:myns"> <mydataitem>sample data</mydataitem> </mydata>
<mydata xmlns="urn:otherns"> <mydataitem>sample data</mydataitem> </mydata>
<mydata> <mydataitem>sample data</mydataitem> </mydata>
<xsl:template match="*[local-name(.) = 'mydata']"> ...
<xsl:template match="*[local-name(.) = 'mydataitem']"> ...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] List of illegal character, andrew welch | Thread | RE: [xsl] Optional namespace declar, G. Ken Holman |
Re: [xsl] List of illegal character, andrew welch | Date | RE: Re: [xsl] List of illegal chara, cknell |
Month |