Hi All...
I am looking for a way of extracting a value from a XML parameter and displaying it in a page that pops up via a link. For example, take a look at
http://www.mamaliga.com/onlineschedu...s_3_months.xml
If you click on one of the red "1 (available)" headers, you'll be presented with a couple empty hour slots in that day.
Well I'd like to pass the time value on which the user clicked (9:00 am) to the pop-up window that is opened from that particular link, and display that value as text (up in the red colored header "Time Slot:").
For now, this is how I make those links available:
XML:
Code:
<Time href="javascript:DET('appdemo.xml')" slot="9:00 am"/>
XSL:
Code:
<xsl:template match="Time">
<xsl:text/>
<li>
<a CLASS="Item">
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
<xsl:value-of select="@slot"/>
</a>
</li>
</xsl:template>
Thanks a lot!
Gabi.