|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Updated XLink Question in XML Data File and XSL
> XML Data File Code:
>
> <PICK_UP_DATE xml:link="simple"
> href="http:/www.lmi.org">1999/08/30</PICK_UP_DATE>
>
>
>
> XSL Code:
>
> <a>
> <xsl:attribute select="./PURPOSE_CODE">
> <xsl:value-of select="./PICK_UP_DATE"/>
> </xsl:attribute>
> </a>
>
> but that doesn't seem to work. Any help would be appreciated.
If this is all you need, bellow is a sample code that works with XT:
<xslt:template match="PICK_UP_DATE">
<a>
<xslt:attribute name="href">
<xslt:value-of select="@href"/>
</xslt:attribute>
<xslt:value-of select="."/>
</a>
</xslt:template>
Nikita Ogievetsky
http://www.cogx.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








