This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to output attribute without namespace
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to output attribute without namespace
- From: Dmitri Ilyin <dmitri dot ilyin at memIQ dot com>
- Date: Fri, 7 Sep 2001 09:58:38 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@nag.co.uk]
> Sent: Thursday, September 06, 2001 7:14 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] 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