Hi,

I have an xsl and i'd like to create a namespace declaration by this way:

...
<xsl:element name="myel">
<xsl:attribute name="prefix:dummy" namespace="{XPath expression}"/>
</xsl:element>
...

I mean: I have to create an xml containing dynamicaly calculated namespaces.

Using Microsoft parser i have a correct xml output like this:

...
<myel prefix:dummy="" xmlns:prefix="XPath expression"/>
...


Using Xalan, xml output is this:

...
<myel prefix:dummy="">
...

namespace declaration is missing.

Have i to set some parameters in xalan transformer?

thanks in advance

Andrea Tevoi

Reply via email to