This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: creating xml:lang attribute
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] creating xml:lang attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 30 Mar 2001 11:51:19 +0100
- References: <369E649358B03B4189FB909620F7043202F428@hermes.dd.newtron.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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