Subject: RE: How to output attribute without namespace
From: Dmitri Ilyin <dmitri.ilyin@xxxxxxxxx>
Date: Fri, 7 Sep 2001 09:58:38 +0200
|
Thanks David.
It works.But the problem that i have is i don't know the local-name of
attribute....
> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: Thursday, September 06, 2001 7:14 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: How to output attribute without namespace
>
>
>
> take the identity transform from the xsl spec and add one
> extra template
>
> <xsl:template match="@param:height"
> xmlns:param="http://localhost/testui.txt">
> <xsl:attribute name="param"><xsl:value-of select="."/></xsl:attribute>
> </xsl:template>
>
> then you are done.
>
> David
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or
> alternatively call
> Star Internet for details on the Virus Scanning Service.
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|