|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML version 1.4 (was: your mail)
On Wed, May 09 '01 at 18:24, Stephane.Le-Deaut@xxxxxxxxxx wrote:
> 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" ?
> Is it possible ?
For me it's not totaly clear, what you want ...
is it:
<?xml version="1.4"?>
<commonDelivery>
...
</commonDelivery>
that's not possible, XML version 1.4 is not defines, we're all happy to
still have 1.0 around.
it you want to:
<?xml version="1.0"?>
<commonDelivery version="1.4">
...
</commonDelivery>
that's basic XSL-T you can learn from various places (the spec,
Michael's book, introductions on the www ...)
if you want:
<xsl:text>&commonDeliveryVersion;</xsl:text>
this will not work, as this entity is not declared in your XSL-T file,
only in the DTD for your (source) document.
Well, just blubbering,
Goetz.
Attachment:
pgp00002.pgp
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








