[dsdl-discuss] Entity renaming

From: Martin Bryan <martin@is-thought.co.uk>
Date: Sun Dec 11 2005 - 19:21:58 UTC

At the Atlanta meeting is was claimed that "XSLT 2.0 has an entity renaming
mechanism" (according to my very scanty notes). In reviewing the XSLT 2.0
spec I cannot find such a facility. I can see a character mapping
declaration that will allow an entity declaration such as &nbsp; to be
mapped to a single character, such as &#160;, but not facilities for
outputting entity references in a transformed document. Unless someone
informs me how to rename entities using XSLT 2.0 I must presume that the
only way to do this is by creating CDATA sections that contain the relevant
entity reference. Suggestions as to how entity renaming can be undertaken in
practice would be very much welcomed.

Martin

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Sun Dec 11 20:22:25 2005

This archive was generated by hypermail 2.1.8 : Sun Dec 11 2005 - 20:53:02 UTC