This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl help!!!
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 19 Aug 2002 12:40:30 +0300
- Subject: RE: [xsl] xsl help!!!
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
> i would like to print a value of variable in the
> doctype declaration of a document, how to do it? given
> below is an example
>
> <xsl:variable name="myname"
> select="concat('-//S-V//DTD A++ V',$version,'//EN')"/>
> //here is version is one more vaiable.
>
> //Now I need to print the value of myname in the
> doctype declaration like this
> <xt:document href="{$file}" method="xml"
> doctype-public="">
>
> what statement should be used to print the value of
> vaiable myname in the doctype-public.
<xt:document href="{$file}" method="xml" doctype-public="{$myname}">
if the doctype-public attribute of xt:document support AVTs
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list