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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--