|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|

Cart








