Subject:Warning when using xsl:processing-instruction with MSXML 4 sp2 Author:Lee Humphries Date:19 Jul 2004 12:45 AM Originally Posted: 19 Jul 2004 12:44 AM
I've just run across what appears to be a bug with both MSXML 3 and 4
If you're using the xsl:processing-instruction element, neither of the
above two processors will put in the closing '?' for you.
As a result you'll need to include the '?' yourself, as follows:
<xsl:processing-instruction name="import">
<xsl:text>namespace='iSvg' implementation='#AdobeSVG'?</xsl:text>
</xsl:processing-instruction>
Subject:RE: Warning when using xsl:processing-instruction with MSXML 4 sp2 Author:Ivan Pedruzzi Date:19 Jul 2004 03:15 AM
Lee,
Most likely the output of your transformation is set to 'html'.
HTML Processing instruction has a different syntax:
http://www.w3.org/TR/1998/REC-html40-19980424/appendix/notes.html#h-B.3.
6
Hope this helps
Ivan
> -----Original Message-----
> From: stylus-studio-xslt Listmanager
[mailto:stylus-studio-xslt.listmanager@stylusstudio.com]
> Sent: Monday, July 19, 2004 12:47 AM
> Subject: Warning when using xsl:processing-instruction with MSXML 4
sp2
>
> From: "Lee Humphries"
>
> I've just run across what appears to be a bug with both MSXML 3 and 4
>
> If you're using the xsl:processing-instruction element, neither of the
> above two processors will put in the closing '?' for you.
> As a result you'll need to include the '?' yourself, as follows:
>
> <xsl:processing-instruction name="import">
> <xsl:text>namespace='iSvg'
implementation='#AdobeSVG'?</xsl:text>
> </xsl:processing-instruction>
>
>
> --
> To reply: mailto:stylus-studio-xslt.7762@stylusstudio.com
> To start a new topic: mailto:stylus-studio-xslt@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
mailto:stylus-studio-xslt.list-request@stylusstudio.com
>