Re: [xml-dev] Namespace issues in 2nd order xslt (e.g. Schematron)

From
Oleg Dulin <>
To
"Hunsberger, Peter" <>
Date
2004-08-17T18:38:17Z
ID
<>
Thread
Re: [xml-dev] Namespace issues in 2nd order xslt (e.g. Schematron)
>
>
>
>Maybe I'm misunderstanding the problem but isn't this what the
>Schematron NS tag is for?
>
>
>  
>

That tag does nothing...

Consider this:

<xsl:for-each select="osr:ns | ns">
           
       
                <xsl:attribute 
name="{concat(@prefix,':dummy-for-xmlns')}" namespace="{@uri}" />
            </xsl:for-each>

is how it is defined in the schematron skeleton transform.

Now, the output xsl contains something like this at the root : .... 
xmlns:prf="http://foo" prf:dummy-for-xmlns="">

and xalan complains that The prefix "prf" for attribute 
"prf:dummy-for-xmlns" associated with an element type "axsl:stylesheet" 
is not bound...

Any thoughts ?

Oleg