This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: parameter entity in DTD (was untitled)


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]