xsl-list
[Top] [All Lists]

RE: [xsl] How to use document() of doc() function with copy idiom, or how to acc

2006-07-25 07:25:47



From: Abel Braaksma Online <abel(_dot_)online(_at_)xs4all(_dot_)nl>

Namespace of input xml document: this is equal to the current xslt document (just because saxon needs an input document. I don't actually use it)

Saxon (8 - which you appear to be using) doesn't need an intput document. You can supply the name of an initial template instead.

   <!-- load the documents -->
   <xsl:variable name="documents">
           <doc>
<input-filename><xsl:value-of select="." /></input-filename>

What do you expect to get from that xsl:value-of?

_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


--~------------------------------------------------------------------
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>
--~--