[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Writing a DTD

  • From: Dylan Walsh <Dylan.Walsh@K...>
  • To: xml-dev@l...
  • Date: Fri, 03 Nov 2000 17:27:23 +0000

lpar entity
There are only 5 predefined entity references in XML: &lt; &gt; &amp; &apos;
and &quot;
&lpar; 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 &#40; and is
equivalent to the built-in text entity reference &lpar;

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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