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: How to output attribute without namespace


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]