[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Using multiple xpath-default-namespace

Subject: [xsl] Using multiple xpath-default-namespace
From: "Pankaj Chaturvedi" <Pankaj.Chaturvedi@xxxxxxxxxxxxxx>
Date: Thu, 23 Jan 2014 17:13:25 +0530


May be I sound bit stupid but is there a way using multiple
"xpath-default-namespace" in one stylesheet. I have a case wherein I
have multiple XML files following same DTD, but with different version,
difference mainly being the different "xmlns".  There are slight other
changes and I have written style sheet which I was thinking of using on
both version of XML but that does not seems to be case. Tried using
local-name() but it seems to fine on root element.

I can though segregate or write two different XSLT to handle both case
but I thought of cross check the possibility.



Current Thread