XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Max HodgesSubject: codes not supported
Author: Max Hodges
Date: 02 Mar 2003 02:45 AM
you don't support 


are these not part of XML spec?
humm...don't know how to escape those special character codes here...

Posttop
Alberto MassariSubject: codes not supported
Author: Alberto Massari
Date: 03 Mar 2003 05:27 AM
Hi Max,
the entities "copy" and "times" are not part of the XML list of predefined entities (that are "amp", "gt", "lt", "quot" and "apos"). So, if you want to use them inside an XSLT stylesheet (that is an XML files, after all) you need to define them, either in the internal DTD, or by referring to the official DTD for HTML/XHTML.

For instance, you can add
{!DOCTYPE xsl:stylesheet [
{!ENTITY copy "©"}
{!ENTITY times "×"}
]}

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.