[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] xsl help!!!


Subject: RE: [xsl] xsl help!!!
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 19 Aug 2002 12:40:30 +0300

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



Current Thread
  • [xsl] xsl help!!!
    • Srinivas Ch - Mon, 19 Aug 2002 02:21:43 -0700 (PDT)
      • <Possible follow-ups>
      • Jarno . Elovirta - Mon, 19 Aug 2002 12:40:30 +0300 <=