This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: parameter entity in DTD (was untitled)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE: parameter entity in DTD (was untitled)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 10 May 2001 11:29:48 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> >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.
No, I meant parameter entity.
And I don't think XML has any "SGML declarations", so that can't be right.
It is possible to use parameter entity references within the DTD to define
default values for attributes, or expansion text for general entities, and
thereby to make the value of the parameter entity visible in the XPath
model.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list