On 2005-02-22 05:48:50 -0500, Daniel Veillard wrote:
>   An XML PI does not end with ?> but with >

The XML spec says the opposite.

> so ....
> 
> <xsl:processing-instruction name="php">
>   $var = 0;
> ?</xsl:processing-instruction>
> 
> should do what you want !

No, http://www.w3.org/TR/xslt#section-Creating-Processing-Instructions
says:

For example, this

<xsl:processing-instruction name="xml-stylesheet">href="book.css" 
type="text/css"</xsl:processing-instruction>

would create the processing instruction

<?xml-stylesheet href="book.css" type="text/css"?>

-- 
Vincent Lef�vre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to