Re: [xsl] How to output a xmlns:prefix attribute (special case)

Subject: Re: [xsl] How to output a xmlns:prefix attribute (special case)
From: "Richard Gruet" <rgruet@xxxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 16:20:32 -0700

Michael Kay wrote:

> If the namespace you require is declared in the stylesheet, and you output a
> literal result element, then you will get a namespace declaration output for
> it.

I am not in this case.

> If you can't do that, another solution is to add a dummy attribute to the
> output, with the name prefix:att.

I can't put this attribute in the xsd:schema element, it would be invalid. Can I
put it anywhere where it is legal and get the namespace properly inserted in the
xsd:schema element  ?

Richard Gruet

PS: I've read with curiosity the site about your chorale. Did you perform the
Messiah (I'm very fond of this work and I'm currently reading the score) ? Would
Haendel have written it using XML rather than the musical notation be it
available at the time ? And would he have used XSLT to perform some
transcriptions (imagine a "strings2harpsichord.xsl" for example) ? And BTW,
wasn't he SAXON ?

 XSL-List info and archive:

Current Thread