This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]