[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[Fwd: Creating entities with XSL 19990813]

Subject: [Fwd: Creating entities with XSL 19990813]
From: Miloslav Nic <nicmila@xxxxxxxx>
Date: Thu, 16 Sep 1999 10:19:20 +0200
entities in xsl
Forwarded question appeared on xml-l.
How to output e.g. &nbsp; 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 &nbsp; , 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 ---
Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.