-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: 04 May 2005 09:05
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] design question on function namespaces
>
> <xsl:template match="open-office:chapter"
> mode="doc:chapter-has-footnotes"
> as="xs:boolean">
> <xsl:sequence select="exists(.//footnote)"/> </xsl:template>
>
> 1. Return the boolean value to whom | what?
>
To its caller. For example,
<xsl:variable name="x" as="xs:boolean">
<xsl:apply-templates select="chap"
mode="doc:has-footnotes"/> </xsl:variable>
If the call on apply-templates returns a boolean, that
boolean will be the value of variable $x.
Thanks for the explanation Michael.
Now that is a change!
How did she get that through the WG?
Seems to be duplicating the function example you provided?
Dual use templates? Give the template a name and it becomes
a triple use template?
Was any use case provided? The function example seems far clearer.
regards DaveP
--
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
--~------------------------------------------------------------------
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>
--~--