This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl generated links
- To: xsl-list at mulberrytech dot com
- Subject: RE: xsl generated links
- From: "Paal Eriksen" <pserik at hotmail dot com>
- Date: Fri, 07 Apr 2000 09:04:33 CEST
- Reply-To: xsl-list at mulberrytech dot com
It's been solved already. Thanks for tip anyway...
Cheers
Paal Steven
>From: "Chris Bayes" <chris@Bayes.co.uk>
>Reply-To: xsl-list@mulberrytech.com
>To: <xsl-list@mulberrytech.com>
>Subject: RE: xsl generated links
>Date: Thu, 6 Apr 2000 18:56:25 +0100
>
>Check out www.bayes.co.uk/xml for an example in IE5. I do a similar thing
>with divs but check out the left toc TUTORIALS/HOW TO DO THIS to see the
>script.
>Ciao Chris
>
>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Paal Eriksen
>Sent: Wednesday, April 05, 2000 04:17
>To: xsl-list@mulberrytech.com
>Subject: xsl generated links
>
>
>I'm not sure if it's the right forum to ask, but i give it a try..
>
>I'm have a table with two cell and in the cell on the left side i have
>generated several links from a xml file. These links has been named by
>uniqueID, here's the code which generate the links :
>
><xsl:for-each select="main_news/news/title"> <xsl:attribute
>name="href">#<xsl:eval>uniqueID(this) </xsl:eval></xsl:attribute>
><xsl:value-of select="./@head"/> </xsl:for-each>
>
>I've named the right cell 'info'.
>What i want to do is when someone click on one of the link, the informating
>regarding that particular link is is read from the xml file and shown in
>the
>right cell of the table. If the user click on another links the existing
>information in the right cell will be replace with the new regarding link
>which was pressed.
>
>xml syntax is
><main_news>
> <news>
> <title head="First headline">
> title text .......
> </title>
> <title head="Second headline">
> title text 2
> </title>
> </news>
> <news>
> <title head="First headline">
> title text .......
> </title>
> <title head="Second headline">
> title text2
> </title>
> </news>
></main_news>
>
>I've found example where this work with plain text in a table of contence,
>but i want to use it in a table.
>
>I appreciate any tip.
>
>Steven
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list