|
Subject: Re: Updated XLink Question in XML Data File and XSL From: "Nikita Ogievetsky" <nogievet@xxxxxxxxxxxx> Date: Tue, 14 Sep 1999 18:41:56 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Updated XLink Question in XML Data , Travis DYKES | Thread | ANN: Oracle XML Parser for Java v2., Mark Scardina |
| ANN: 4XPath 0.7.1, Mike Olson | Date | Updated XLink Question in XML Data , Travis DYKES |
| Month |