Christian Sell wrote:
>I am trying to generate an XML schema file from an XML input document, 
>and encounter a somewhat esoteric problem.
>...
>So far all goes well, with the exception of the "xmlns" attribute in
>the output "xs:schema" element, which should hold the value of the
>"prefix" attribute from the "library" input element. I am trying to
>achieve this with the following literal result element inside the
>template that matches the library element:
>   <xs:schema xmlns="[EMAIL PROTECTED]" targetNamespace="[EMAIL PROTECTED]">

Upon being told that XSLT 1.0 doesn't have a general solution for
this, he wrote:

>What a misery. This seemed like such an obvious application for XSLT.

True, which is why XSLT 2.0 will be able to do this.
.................David Marston

Reply via email to