Re: [xslt] <?php ... ?> and <xsl:output method="html">
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] <?php ... ?> and <xsl:output method="html">
- Date: Wed, 5 Feb 2003 04:45:49 -0500
On Tue, Feb 04, 2003 at 08:52:27PM -0600, Brett Kail wrote:
> So, would
>
> <xsl:output method="php"/>
>
> or
>
> <xsl:output method="php"
> xmlns:libxsl="http://www.xmlsoft.org/???"
> libxsl:method="php"/>
>
> extensions (that do the same as method="html" except outputs
> processing instructions, or even just the php processing instruction,
> with a closing '?') be acceptable? Having looked at the HTMLtree.c
Clearly no. Either add the extra ? or serialize as XML.
> code, I think that an htmlNodeDumpExtendedOutput function could be
> added that has control over the PI output and is called by
> htmlNodeDumpFormatOutput could work. Would either extension (or
> similar) be accepted if I worked on it?
<?...?> is not a processing instruction of the target language.
Adding yet another layer of serilization API to handle this corner case
is not a sensible thing to do.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]