Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 2nd, 2007, 06:53 PM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default display directories and files using only xsl/xml..

I need to create some xml with xsl that will display the directory structure of virtual directories, look for certain file names and also look for certain text contained within files names. These files would all be either xml or xsl files.
I want to do this to allow developers to browse virtual directories (SQLXML 3.0) in a browser, see the web services available and then I will develop it from there.
thanks for any starting points

Ed

 
Old January 2nd, 2007, 07:01 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

This isn't possible unless you write some extension functions to provide access to the information. Your best bet is probably to write some Java or similar code that copies the directory structure to an XML file; if you want to be clever you could write a DOM wrapper over the directory structure so that it looks like XML.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML code from XML to display using XSL koenige XSLT 6 October 27th, 2008 08:11 AM
How to remove numbers in XML files using xsl srkumar XSLT 1 April 15th, 2008 06:43 AM
Getting data from xml and xsl files combined hema_latha7 General .NET 0 May 19th, 2006 08:27 AM
display Xml ( which refer XSL ) By Servlet pandian XSLT 0 December 24th, 2005 06:33 AM
checking directories for files Trojan_uk Classic ASP Basics 1 March 16th, 2004 10:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.