Re: [xslt] cdata section
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] cdata section
- Date: Tue, 15 Oct 2002 17:45:05 -0400
On Tue, Oct 15, 2002 at 11:12:44PM +0200, Panard wrote:
> Hi!
>
> How can I have the output " with a ouput method html ?
> for exemple in a script section ?
by provising " in input. The following test seems to prove you
didn't even tried !
paphio:~ -> cat tst.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<html><head><script>"</script></head></html>
</xsl:template>
</xsl:stylesheet>
paphio:~ -> xsltproc tst.xsl tst.xsl
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>"</script>
</head></html>
paphio:~ ->
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]