Re: xsl usage question
- From: Peter Flynn <peter.nosp@xxxxxxxxxxxxx>
- Date: Sun, 20 Nov 2005 00:10:00 +0000
ramc8191@xxxxxxxxxxxxxx wrote:
> I am working on a small project and have been experimenting with xml
> as the data store. It does make certain things extremely simple, but
> being new to this am not sure of its potential or of its suitability
> in solving my particular problem
>
> This is the issue:
> My xml file is pretty simple and has the following structure.
>
> <note>
> <tag></tag> <<<< there can be more than one tag
Element. See http://xml.silmaril.ie/authors/makeup/
> <question></question>
> <answer></answer>
> </note>
>
> I use xsl to convert this to html. What I want to do is transform the
> tag elements to hyperlinks. When the user clicks the link, he gets
> only the questions associated with that particular tag.
>
> This could be done by modifying the appropriate xsl:value-of
> select="[tag=$choice]" in the xsl file. If I define such a variable
> choice with xsl:variable is it possible to set this dynamically? From
> what I get so far, such a mechanism isnt available. The xsl file would
> require to be modified and restored depending on users actions. It
> would have to be able to 'recieve' the users choice.
See http://www.w3.org/TR/xslt#top-level-variables under "Parameters".
///Peter
.
- References:
- xsl usage question
- From: ramc8191
- xsl usage question
- Prev by Date: Re: list of posible values for a tag content
- Next by Date: XML Library of books for sale on ebay.
- Previous by thread: Re: xsl usage question
- Next by thread: XML Library of books for sale on ebay.
- Index(es):
Relevant Pages
|