[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: problem building a lookup table and find match fro
Subject: Re: problem building a lookup table and find match from a different template
From: "Leslie Young" <xlr8sx@xxxxxxxxxxx>
Date: Wed, 30 Aug 2006 08:26:05 -0500
|
Hi,
The variable is a table which contains a list of key and values. The
template is to populate the table using the dataset2 elements. I am sure
this is not best way to do it. Do you have better suggestion? I did not use
group method here because I need to also show a check mark if the value is
displayed from dataset2. So I need to know where the value is obatined from,
dataset1 or dataset2.
Thanks!
From: Florent Georges <darkman_spam@xxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: problem building a lookup table and find match from a
different template
Date: Wed, 30 Aug 2006 10:03:12 +0200 (CEST)
Leslie Young wrote:
Hi
> I am trying to create a table lookup using a set of data
> (dataset2), then process a different set of data
> (dataset1).
I have a few questions to be sure to understand what you
want. How do you apply your stylesheet?
> <xsl:variable name="recs-top" select="document('')/*/s:recs"/>
What do you expect the value of this variable will be?
> <!-- use dataset2 to build table -->
> <xsl:choose>
> <xsl:when test="dataset2/Root">
> <xsl:call-template name="build-rec-lookup-table">
> <xsl:with-param name="dataset" select="dataset2/Root"/>
> </xsl:call-template>
> </xsl:when>
> </xsl:choose>
What do you expect this will do, exactly?
Regards,
--drkm
p5.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 30 07:13:39 GMT 2006
___________________________________________________________________________
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son
interface rivolutionnaire.
http://fr.mail.yahoo.com
_________________________________________________________________
Get real-time traffic reports with Windows Live Local Search
http://local.live.com/default.aspx?v=2&cp=42.336065~-109.392273&style=r&lvl=4&scene=3712634&trfc=1
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|