Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Fri, 29 Feb 2008 05:22:02 -0800,    group: microsoft.public.xsl        back       


make <xsl:value of select="attrname"> work within a " "   
Hi all,

In my XML file, there is a < image name="aa.jpg" width="100" length="100" />
element, in the corresponding XSLT, How can I put the above three attributs 
in HTML <img> tag like the following:

<xsl: template ...>
<img src="<xsl:value of select="attrname" /> " width="..." lenght="..."   />

</xsl: template ...>

Clara
-- 
thank you so much for your help
date: Fri, 29 Feb 2008 05:22:02 -0800   author:   clara

Re: make <xsl:value of select="attrname"> work within a " "   
U¿ytkownik "clara"  napisa³ w wiadomo¶ci 
news:300395B4-1056-44FF-904F-746BF84B6F5A@microsoft.com...
> Hi all,
>
> In my XML file, there is a < image name="aa.jpg" width="100" length="100" 
> />
> element, in the corresponding XSLT, How can I put the above three 
> attributs
> in HTML <img> tag like the following:
>
> <xsl: template ...>
> <img src="<xsl:value of select="attrname" /> " width="..." lenght="..." 
> />
>
> </xsl: template ...>
>
> Clara
> -- 
> thank you so much for your help

<img src="{attrname}" width="{@attrname}" lenght="..."   />

@ is a notation of attribute (abbreviation of attribute::*)
-- 
td
date: Fri, 29 Feb 2008 14:40:57 +0100   author:   TOUDIdel

Re: make <xsl:value of select="attrname"> work within a " "   
Thank you Toudidel!

Clara
-- 
thank you so much for your help


"TOUDIdel" wrote:

> 
> U¿ytkownik "clara"  napisa³ w wiadomo¶ci 
> news:300395B4-1056-44FF-904F-746BF84B6F5A@microsoft.com...
> > Hi all,
> >
> > In my XML file, there is a < image name="aa.jpg" width="100" length="100" 
> > />
> > element, in the corresponding XSLT, How can I put the above three 
> > attributs
> > in HTML <img> tag like the following:
> >
> > <xsl: template ...>
> > <img src="<xsl:value of select="attrname" /> " width="..." lenght="..." 
> > />
> >
> > </xsl: template ...>
> >
> > Clara
> > -- 
> > thank you so much for your help
> 
> <img src="{attrname}" width="{@attrname}" lenght="..."   />
> 
> @ is a notation of attribute (abbreviation of attribute::*)
> -- 
> td 
> 
> 
>
date: Fri, 29 Feb 2008 06:19:03 -0800   author:   clara

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us