Re: [xml-dev] XSL and Entities
by Christopher R. Maden other posts by this author
Apr 23 2002 8:33AM messages near this date
[xml-dev] XSL and Entities
|
Re: [xml-dev] XSL and Entities
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 01:32 23/4/02, Rupa Kulkarni wrote:
> Can i declare entities in XSL and use them in the same xsl.?
This question may be better-suited to the XSL List[1], but:
An XSLT stylesheet is an XML document, and subject to all the same
rules. So you can do:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
]>
<xsl:stylesheet ...>
...
<xsl:text> </xsl:text>
...
</xsl:stylesheet>
~Chris
[1] <URL: http://www.mulberrytech.com/xsl/xsl-list/ >
- --
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8
iQA/AwUBPMUcYaxS+CWv7FjaEQK4mACeOY1T2QQDs5lCLwJfLSrSv1sN5RMAoIbh
y4ucEEevb7BJWuvmvISHqTvd
=MO01
-----END PGP SIGNATURE-----
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Rupa Kulkarni
Christopher R. Maden
Thomas B. Passin
|