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

Re: RE: parameter entity in DTD (was untitled)

Subject: Re: RE: parameter entity in DTD (was untitled)
From: Ingo Schildmann <ingoschi@xxxxxx>
Date: Thu, 10 May 2001 09:57:03 +0200
Re:  RE: parameter entity in DTD (was untitled)
On Wednesday 09 May 2001 19:23, you wrote:
> >But of course the parameter entity might be used to create a default value
> >for an attribute of some element, in which case that attribute value will
> > be accessible.
>
> You mean general entity; paramater entites (with the %) can only be
> used in the SGML declarations.
>
That's incorrect.

Parameter entities can be used in XML DTDs as well:

Declarations like 

<!ENTITY % children  '(A,B,C)'>
<!ELEMENT father %children; >
<!ELEMENT mother %children; >

are often used.

>From the XML recommendation (Section 4):

Definition: General entities are entities for use within the document 
content. In this specification, general entities are sometimes referred to 
with the unqualified term entity when this leads to no ambiguity.] 
[Definition: Parameter entities are parsed entities for use within the DTD.] 
These two types of entities use different forms of reference and are 
recognized in different contexts. ...

-- 
Ingo Schildmann                                                ingoschi@xxxxxx

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


Current Thread

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
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.