[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] using entitites in XSL
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Roman Banks'" <technical_wr@yahoo.com>,<xml-dev@lists.xml.org>
- Date: Sun, 4 Nov 2007 13:00:15 -0000
>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
http://www.saxonica.com/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]