ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Re: configuring a conditional

Subject: Re: configuring a conditional
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Tue, 24 May 2005 12:35:39 -0400
Re:  configuring a conditional
On May 24, 2005, at 12:11 PM, Wendell Piez wrote:

Change that test to "$cite-ref is key('refs',$cite-ref/@linkend)[1]" and you should be fine. (And I think that's what I guessed before. :-)

Yes, sorry about that. I didn't at first try that because you mentioned it in the context of a function. After sending that message, though, I did try it, but am still not getting expected results on the FIRST thing.


So I have this:

<xsl:message>
<xsl:value-of select="name($cite-ref)"/>:
<xsl:value-of select="$cite-ref/@linkend"/>:
<xsl:if test="$cite-ref is key('refs',$cite-ref/@linkend)[1]">FIRST</xsl:if>
</xsl:message>


... which gets me:

biblioref:
      TimesP2001a:

biblioref:
      Veer1996a:

biblioref:
      Tilly2000a:

biblioref:
      Tilly2002a:

biblioref:
      NW2000-0207:

biblioref:
      NW2000-0424a:

biblioref:
      Tremblay2001a:

biblioref:
      Thrift1990a:

biblioref:
      Tilly2000a:

None of them are returning "FIRST."

Bruce

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.