Forwarded question appeared on xml-l.
How to output e.g. with <xml:output method="xml">
I posted a solution for <xml:output method="html">:
http://zvon.vscht.cz/HTMLonly/XSLTutorial/Books/Book1/index.html
example 80.
You cannot dirrectly try , as XSL is XML and so all entities must
be declared, but I did not figured out how to declare entities for xsl
stylesheet. My attempts with
<!DOCTYPE ... failed.
--
***************************************************************
Dr. Miloslav Nic e-mail: nicmila@xxxxxxxx
Department of Organic Chemistry TEL: +420 2 2435 5012
ICT Prague (VSCHT Praha) +420 2 2435 4118
FAX: +420 2 2435 4288
****************************************************************
--- Begin Message ---
Subject: Re: Creating entities with XSL 19990813
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Thu, 16 Sep 1999 19:14:26 +1200
|
"G. Ken Holman" wrote:
> XSLT 1999-08-13 Section 15.2:
>
> The html output method may output a character using
> a character entity reference, if one is defined for
> it in the version of HTML that the output method is
> using.
OK. This certainly looks promising. Can anyone tell me how
I might then produce &foobar; in my output document? There
must surely be a way to do this in XSL regardless of the
output method used.
Thanks
--
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand
--- End Message ---