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

Subject: RE: [xsl] How to use document() of doc() function with copy idiom, or how to acc
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Tue, 25 Jul 2006 15:25:25 +0100
From: Abel Braaksma Online <abel.online@xxxxxxxxx>

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


Current Thread