OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSL and Entities

[ Lists Home | Date Index | Thread Index ]


-----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 "&#xa0;">
]>
<xsl:stylesheet ...>
   ...
   <xsl:text>&nbsp;</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-----





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS