Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: beginning xslt... filtering or xml data based on the value of a node

From: Peter Flynn <peter.nosp@-.--------.-->
To: NULL
Date: 4/7/2008 9:56:00 PM

tamak wrote:
> Thanks for the replies --- I have been continuing to work on my
> understanding of it all and have successfully developed the xslt to
> list my records the way I want them and have the EVENTTITLE node
> serving as a link using the following syntax:
> 
> pagename.asp?eID=xxxxx

I don't use ASP, so I have no idea of what this implies, or if it will 
work. It's certainly the right URI syntax.

> I've tried to use <xsl:param name="eID">  and then refer to  $eID in
> the xsl filter but I get no results / returns (when Im positive that
> that individual ID exists in the data.

That's the correct method. How are you passing the value into the XSLT? 
If it's via the ASP URI above, you may need some extra programming to 
make the value pass through...consult an ASP guru for this.

To test if the value is being passed, add in the relevant template:

<xsl:message>
   <xsl:text>Got eID value "</xsl:text>
   <xsl:value-of select="$eID"/>
   <xsl:text>"</xsl:text>
</xsl:message>

> So my question now 

I'd get the value-passing working first.

///Peter
-- 
XML FAQ: http://xml.silmaril.ie/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent