cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Smith" <>
Subject RE: a PI in my output
Date Wed, 08 Nov 2000 18:16:41 GMT
Well, the final style sheet includes a template that matches and copies
"@*|node()", but that shouldn't copy PIs should it?


-----Original Message-----
From: Robin Green []
Sent: Saturday, November 04, 2000 2:00 PM
Subject: Re: a PI in my output

I've not noticed that happening before. Could you give more details please,
e.g. the stylesheet that's applied last. Probably that stylesheet copies all

"Matthew Smith" <> wrote:
>	My final output has an xml PI in it.  I don't understand why it doesn't go
>away before the document gets to the user.  The document definitly gets
>processed through that stylesheet.
>Here's the output:
><?xml-stylesheet href="style/layout.xsl" type="text/xsl"?>
>The PI is built in a stylesheet that all my xml gets run through.  That
><?xml version="1.0"?>
><xsl:stylesheet version="1.0"
>	xmlns:xsl="">
><xsl:template match="page">
>	<xsl:processing-instruction
>	<xsl:processing-instruction name="xml-logicsheet">href="logic/logic.xsl"
>	<xsl:processing-instruction
>	<xsl:processing-instruction name="xml-stylesheet">href="style/layout.xsl"
>	<page>
>		<xsl:copy-of select="@*|node()|text()" />
>	</page>

Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message