[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:41:49 -0400
Re:  configuring a conditional
On May 24, 2005, at 12:22 PM, Bruce D'Arcus wrote:

incidentally it looks like that code requres  $cite-ref to be a single
element node, but you have declared it as

<xsl:param name="cite-ref" as="element()*"/>

ie you allow it to be the empty sequence or more than one element.

Yes, I think I had a comment there that indicated I originally defined it as just element(), but in one case (when I was formatting an entire book manuscript), I got an error about an empty sequence. Am not sure how that's possible in this case ...

Maybe it's when I have a biblioiref/@linkend value that does not point to a mods:mods/@ID? In other words, the @linkend value is wrong, so the processor never gets the mods record it's looking for.


I think I need to come up with a mechanism to flag this for users.

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.