Re: [xslt] handling of < in CDATA sections
- From: Vincent Lefevre <vincent+gnome vinc17 org>
- To: xslt gnome org
- Subject: Re: [xslt] handling of < in CDATA sections
- Date: Tue, 22 Feb 2005 12:21:19 +0100
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 <vincent vinc17 org> - 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]