This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to output a xmlns:prefix attribute (special case)
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] How to output a xmlns:prefix attribute (special case)
- From: "Richard Gruet" <rgruet at intraware dot com>
- Date: Thu, 12 Jul 2001 16:20:32 -0700
- Organization: Intraware, Inc
- References: <001201c10aaa$c4561b20$574f3c3e@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Mike,
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: http://www.mulberrytech.com/xsl/xsl-list