![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - RE: Problem populating a >Thread Next - Re: Problem populating a Re: Problem populating aTo: NULL Date: 11/10/2006 7:15:00 AM > I see a problem here > <xsl:value-of select="$@Value" /> syntax is false I know that this systax is wrong The only right syntax would be <xsl:value-of select="@myValue" /> to display the attribute's value (see "myValue" below) <myexample myId="1" myValue="one" myOtherValue="uno" /> > <xsl:value-of select="$Value" /> correct Therefore this also wrong, because it won't show the "myValue" attribute of "myexample". To get the attribute's value I need to put "@" as prefix in front of the variable, right? $Value represents a variable containing a string: "myValue". If I just say <xsl:value-of select="$Value" /> then it would be the same as <xsl:value-of select="myValue" />, which is not what I want, I need <xsl:value-of select="@myValue" />, but by passing "myValue" as variable. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
