This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to assign a stylesheet to an XML genreated by another XSL?
RABi wrote:
> i tried it, and it tells me that pi can't be written within the
> xsl:stylesheet tags.
Don't understand, sorry, why pi? Do you mean
<xsl:processing-instruction> element?
If so, it's right, you can use it in template only, more precisely in
template matches "/":
<xsl:template match="/">
<xsl:processing-instruction name="xml-stylesheet">type="text/xsl"
href="b.xsl"</xsl:processing-instruction>
<xsl:apply-templates/>
</xsl:template>
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list