[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Open file

Subject: RE: Open file
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxx>
Date: Mon, 24 Nov 2003 20:17:59 -0000
xsl open file
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.