[xsl] RE: parameter entity in DTD (was untitled)

Subject: [xsl] RE: parameter entity in DTD (was untitled)
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 9 May 2001 18:12:38 +0100
> 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


Current Thread