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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] using entitites in XSL

>Is there any way to process entities inside XSL?

Basically, no: entities aren't represented in the tree data model that XSLT
uses. They are regarded as a lower-level construct.

There are some cases where this causes difficulty, for example if you want
to use an entity whose expansion is likely to change from one time to
another, and in such cases you can consider various workarounds such as
disable-output-escaping. But if you're using an entity reference simply to
represent a copyright character, why not output the character directly?

Michael Kay

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

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

Copyright 1993-2007 XML.org. This site is hosted by OASIS