xsl-list
[Top] [All Lists]

Re: Can I suppress entity substitution in XSLT?

2003-07-25 16:40:50
At 2003-07-25 18:03 -0400, Taro Ikai wrote:
I sometimes want to keep the character entities as they are.
Is that outside of XSLT specification?

Keeping the characters represented by the entities is within the XSLT 1.0 specification.

Keeping the syntax used to represent the character entities in the file used to create the XPath node tree is not within the XSLT 1.0 specification.

For all entities, the substitutions are made by the XML processor used by the XSLT processor and the XSLT processor isn't told of any syntax that might have been used for any of the markup ... all it sees is the information as understood by the XML processor after accommodating the markup.

I hope this helps.

......................... Ken


--
Upcoming hands-on courses: in-house corporate training available;
North America public:  XSL-FO Aug 4,2003; XSLT/XPath Aug 12, 2003

G. Ken Holman                mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:    http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list