LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives

Subject: Re: XML language for file system directory listings?
From: Jim DeLaHunt <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Wed, 25 Nov 2009 09:44:12 +0000

text/plain (54 lines)


Thank you for this lead.  I found the Directory Generator in Cocoon: 

It generates XML directory listings according to a DTD they show there, but
here's an example:

<dir:directory xmlns:dir=""
    name="stylesheets" lastModified="1056668768203" date="27.06.03 01:06"
    requested="true" sort="name" reverse="false">
  <dir:directory name="sites" lastModified="1056668768203" date="27.06.03
01:06" size="0"/>
  <dir:file name="dynamic-page2html.xsl" lastModified="1056668768203"
date="27.06.03 01:06" size="4321"/>
  <dir:file name="simple-xml2html.xslt" lastModified="1056668768203"
date="27.06.03 01:06" size="1234"/>

There is also an XPath Directory Generator:

Their summary is, "The XPath Directory Generator provides all the
functionality of the Directory Generator. Additionaly it is possible to get
XML snippets out of the XML files the Directory Generator finds." It
generates directory listings like the following example:

<dir:directory xmlns:dir=""
    name="articles" lastModified="1057183738609" date="03.07.03 00:08" size="0"
    requested="true" sort="name" reverse="false">
  <dir:directory name="images" lastModified="1057183738609" date="03.07.03
00:08" size="0"/>
  <dir:file name="article1.xml" lastModified="1057183738609" date="03.07.03
00:08" size="123">
    <dir:xpath query="/article/title">
      <title>My first article!</title>
  <dir:file name="article2.html" lastModified="1057183738609" date="03.07.03
00:08" size="345"/>
  <dir:file name="article2.xml" lastModified="1057183738609" date="03.07.03
00:08" size="234">
    <dir:xpath query="/article/title">
      <title>My second article!</title>

Thank you, that's a helpful lead.  I'll add it to a question I have open on
Stack Overflow,

   --Jim DeLaHunt, Vancouver, Canada

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager