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]

Re: creating xml:lang attribute


> from xsl file:
> ...
> <NAME>
> 	<xsl:attribute name="lang"><xsl:value-of
> select="$Lang"/></xsl:attribute>
>       <xsl:value-of select="GROUP_NAME"/>
> </NAME>
> ..

That could be written as
<NAME xsl:lang="{$lang}>
       <xsl:value-of select="GROUP_NAME"/>
</NAME>

There's a chance that might even work as it stands.
If not and you stil get 

> during processing, an error is thrown "Could not resolve namespace
> prefix xml: ..."

then that sounds like a bug in your system

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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]