has anyone else experienced this problem whereby using the document()
function calls the external file twice. specifically, this happens when the
document call is used as part of an XPATH expression to match a node in the
external document.

i.e.

this calls the external doc once.

<xsl:apply-templates select="document('cocoon:/file.xml')" mode="doc"/>

whereas this calls external doc twice!

<xsl:apply-templates select="document('cocoon:/file.xml')/collection"
mode="doc"/>

any insight appreciated.

cheers,
mooch.



DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information.  It is intended to be conveyed only to the designated
recipient(s) named above.  If you are not an intended recipient of this
message, please notify the sender by replying to this message and then
delete all copies of it from your computer system.  Any use, dissemination,
distribution, or reproduction of this message by unintended recipients is
not authorized and may be unlawful. The contents of this communication do
not necessarily represent the views of this company.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to