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]
Other format: [Raw text]

RE: xsl help!!!


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


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