cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: a PI in my output
Date Sat, 04 Nov 2000 20:00:14 GMT
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 
PIs.

"Matthew Smith" <msmith@windebt.com> 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:
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
>"http://www.w3.org/TR/REC-html40/strict.dtd">
><?xml-stylesheet href="style/layout.xsl" type="text/xsl"?>
><html><head><title>...
>
>The PI is built in a stylesheet that all my xml gets run through.  That
>stylesheet:
><?xml version="1.0"?>
>
><xsl:stylesheet version="1.0"
>	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
><xsl:template match="page">
>	<xsl:processing-instruction
>name="cocoon-process">type="xsp"</xsl:processing-instruction>
>	<xsl:processing-instruction name="xml-logicsheet">href="logic/logic.xsl"
>type="text/xsl"</xsl:processing-instruction>
>	<xsl:processing-instruction
>name="cocoon-process">type="xslt"</xsl:processing-instruction>
>	<xsl:processing-instruction name="xml-stylesheet">href="style/layout.xsl"
>type="text/xsl"</xsl:processing-instruction>
>
>	<page>
>		<xsl:copy-of select="@*|node()|text()" />
>	</page>
>
></xsl:template>
>
>
></xsl:stylesheet>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message