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

[xsl] Handling a missing namespace

Subject: [xsl] Handling a missing namespace
From: Aaron Johnson <artpunx@xxxxxxxxx>
Date: Thu, 5 Jul 2012 09:26:49 -0700


I'm looking for advice on how to handle 2 different xml files in 1
transform, one has a namespace, the other doesn't.

Example with namespace...

<ns1:BigCardThing xmlns:ns1="http://xyz.com/ns1/blah/blahspec">



<BigCardThing >

Is there a way for xslt to look for the missing namespace and then
'add it' in the transform?

I'm using xslt 1 and Xalan.

Any advice is much appreciated!


Current Thread