Subject: Re: [xsl] RE: parameter entity in DTD (was untitled) From: Ingo Schildmann <ingoschi@xxxxxx> Date: Thu, 10 May 2001 09:57:03 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: parameter entity in DTD (, Dan Diebolt | Thread | RE: [xsl] RE: parameter entity in D, Michael Kay |
Re: [xsl] import/include and apply-, Janning Vygen | Date | Re: [xsl] Looping over characters i, Jeni Tennison |
Month |