xsl-list
[Top] [All Lists]

RE: xsl/xml question

2003-03-03 03:39:37
Hi,

...

and I need to transform it with the corresponding XSL 
template using the
transformNode of MicrosoftXMLDOM

the XSL Template goes:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>


...


now, if you can see this part:

    Product Name: <a href="$ProductID"><xsl:value-of
select="ProductName"/></a><br/>
                  Product Code: <xsl:value-of
select="ProductCode"/><br/>

I'm trying to get the value of ProductID and assign it to the "href"
attribute of the element <a>... anyone knows how to solve 
this problem?

The XSLT solution would be AWTs or xsl:attribute, but because you use 
Microsoft's XSL, they may not be available in that language. Refer to Microsoft 
tutorials and specs for their language, or, if you choose to switch over to 
XSLT, use AWTs or xsl:attribute.

Cheers,

Jarno - Neurotic Fish: Need

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>