//Building in LiveSite – Revisited

Instead of :-

<a>
<xsl:attribute name=”href”>
<xsl:value-of select=”Properties/Datum[@ID=’FFactPerformance’]”/>
<xsl:text>?idtype=</xsl:text>
<xsl:value-of select=”//Datum[@ID=’idtype’]”/>
<xsl:text>&fundid=</xsl:text>
<xsl:value-of select=”//Datum[@ID=’fundid’]”/>
</xsl:attribute>
<xsl:attribute name=”id”>tab2</xsl:attribute>
<xsl:attribute name=”name”>tab2</xsl:attribute>
Performance & Risk
</a>

 

Use this notation :-

<a href=”{Properties/Datum[@ID=’FFactPerformance’]}?

idtype={//Datum[@ID=’idtype’]}&

fundid={//Datum[@ID=’fundid’]}” id=”tab2″ name=”tab2″>

Performance & Risk</a>

Much shorter to type, and easier to remember.

By |2008-08-14T13:51:51+00:00August 14th, 2008|Articles|0 Comments

About the Author: