[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Writing a DTD
There are only 5 predefined entity references in XML: < > & ' and " ( is not one of them. Perhaps it is defined in SGML, I can't say, but it is not "built-in" in XML. If he wishes to refer to such an entity he would have to define it in a DTD. However I don't see how using such an entity reference would help him, over just writing "(" or ")" in the document. In XML he must use tags to markup elements, and cannot elect to use brackets. Perhaps there is some confusion here between the capabilities of XML and SGML (the latter I'm not familiar with). -----Original Message----- From: Ramesh Gupta [SMTP:ramesh@e...] Sent: Friday, November 03, 2000 5:10 PM To: xml-dev@l... Subject: Re: Writing a DTD Use character entity references of the form &#n; where n is a decimal value in the range '0' to '255' to represent a character from the extended ASCII set, ISO 8859/1. So, for example, "(" can be written as ( and is equivalent to the built-in text entity reference ( I also suggest that you get an XML primer and do some independent research. The XML dev list is a great resource, but it is not a substitute for a good book, of which there are plenty available now. Ramesh
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|