|
| make <xsl:value of select="attrname"> work within a " " |
 |
Fri, 29 Feb 2008 05:22:02 -080 |
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
--
|
| Post Reply
|
| Re: make <xsl:value of select="attrname"> work within a " " |
 |
Fri, 29 Feb 2008 06:19:03 -080 |
Thank you Toudidel!
Clara
--
thank you so much for your help
"TOUDIdel" wrote:
>
> U¿ytkownik "clara" <clara@discussions.microsoft.com>
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="" width="{@attrname}"
lenght="..." />
>
> @ is a notation of attribute (abbreviation of attribute::*)
> --
> td
>
>
|
| Post Reply
|
| Re: make <xsl:value of select="attrname"> work within a " " |
 |
Fri, 29 Feb 2008 14:40:57 +010 |
U¿ytkownik "clara" <clara@discussions.microsoft.com> 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="" width="{@attrname}"
lenght="..." />
@ is a notation of attribute (abbreviation of attribute::*)
--
td
|
| Post Reply
|
|
|
|
|
|
|
|
|
|