[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Comparing content

Subject: RE: Comparing content
From: Peter-Paul Koch <ppk@xxxxxxxxxx>
Date: Mon, 13 Sep 1999 18:13:08 +0200
comparing peter and paul
>Try something like:
><xsl:if test="DOCUMENT[TAG1 = TAG2]">
>	<!-- do something -->
><xsl:if test="DOCUMENT[TAG1 = TAG3/TAG4]">
>	<!-- do something -->

This is exactly what I've tried for days now, it just won't work. As soon
as you put a string behind the '=' everything works fine, but I want a
dynamic comparision.

Cuurently I try in the <xsl:template select="role">:

<xsl:apply-templates select="/JDF/project/role[@id = ./supervisor]" />

where the basic XML is

<role id="pm">


Nothing happens...

Provisional version: http://www.netlinq.nl/interest/xml/interest.xml


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.