|
Subject: Re: [xsl] Dynamic Tables From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 26 Nov 2003 15:49:55 -0500 |
I thought the were going to be equal because they are part of the same context. Is there a way to compare the pair-wise unequal $unique-rooms to say an a sibling node with similar data?
Is context part of the select statement? If I select //topics/topic/location am I in the location context, if so can I compare "." to //topics/place/room data?
<xsl:variable name="here" select="."/>
<xsl:variable name="unique-rooms"
select="//topics/topic/location[not(. =
preceding::location)]" />
<xsl:for-each select="$unique-rooms">
<xsl:if test="../location = $here">
...Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Dynamic Tables, Wendell Piez | Thread | [xsl] XSL - using for-each with sor, Wickersty, Jeff |
| Re: [xsl] Recursion, J.Pietschmann | Date | Re: [xsl] Performance tuning in msx, Dipesh Khakhkhar |
| Month |