R
Richard Tobin
I want to generate an element with a namespace binding that does not
occur in the input or the stylesheet (but which depends on something
in the input), so that a qname in one of its attributes will be
interpreted correctly.
A simplified example: from
<declare targetNamespace="http://example.org" name="foo" type="bar"/>
I want to generate
<schema targetNamespace="http://example.org" xmlns="http://example.org">
<element name="foo" type="p:bar"/>
</schema>
As far as I can tell there is no reliable way to do this in XSLT 1.0;
is that right?
-- Richard
occur in the input or the stylesheet (but which depends on something
in the input), so that a qname in one of its attributes will be
interpreted correctly.
A simplified example: from
<declare targetNamespace="http://example.org" name="foo" type="bar"/>
I want to generate
<schema targetNamespace="http://example.org" xmlns="http://example.org">
<element name="foo" type="p:bar"/>
</schema>
As far as I can tell there is no reliable way to do this in XSLT 1.0;
is that right?
-- Richard