Re: [xsl] creating xml:lang attribute

Subject: Re: [xsl] creating xml:lang attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Mar 2001 11:51:19 +0100
> 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


Current Thread