RE: [xsl] Open file

Subject: RE: [xsl] Open file
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxx>
Date: Mon, 24 Nov 2003 20:17:59 -0000
You are asking XSLT 1.0 ( or 2.0 ) to do something it cant do natively, of
course you could use the document() function and supply it with random file
names, I think you would be best served to either

a) supply the transform with an external parameter containing all filenames
to search from

b) generate an xml file that contains filenames and apply xslt to that, and
use the document() command.

c) you could place all your xml documents into an xml database, and apply
XPATH, XSLT or XQUERY across collections

d) use an extension function within xslt ( might have to roll your own )

Generally, it sounds like you want something lightweight like was discussed
with transquery, check out the implementation at Chris Bayes site 
http://www.bayes.co.uk/xml/index.xml?/xml/main.xml

click onto transquery from left hand menu, remember you would obviously need
MSXML for this approach, but might help inform your approach.

gl, jim fuller


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ricardo Saraiva
Sent: Monday, November 24, 2003 10:23 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Hello,

I would like know if it is possible to search for a file, and if it
doesn't exist, do nothing, else open it.
Thanks,
Ricardo Saraiva



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread