|
Subject: [xsl] Re: XML version 1.4 (was: your mail) From: Goetz Bock <bock@xxxxxxxxxxx> Date: Wed, 9 May 2001 18:54:28 +0200 |
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
Description: PGP signature
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [no subject], Stephane . Le-Deaut | Thread | [no subject], David Carlisle |
| RE: [xsl] Boolean XPath Expression , Michael Kay | Date | [no subject], David Carlisle |
| Month |