This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: parameter entity in DTD (was untitled)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE: parameter entity in DTD (was untitled)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 9 May 2001 18:12:38 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> My DTD starts like this :
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!--******************************************************-->
> <!--* "commonDelivery.dtd" *-->
> <!--******************************************************-->
> <!ENTITY % commonDeliveryVersion "1.4">
> ....
> ....
>
>
> I would like to build an XML file with the version "1.4".
>
> How to get with XSL the number "1.4" ?
The contents of the DTD are in general not accessible to the stylesheet.
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.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list