Re: [xml-dev] Ten Years Later - XML 1.0 Fifth Edition?

From
Kevin S. Clarke <>
To
Mukul Gandhi <>
Date
2008-02-18T17:04:58Z
ID
<>
Thread
Re: [xml-dev] Ten Years Later - XML 1.0 Fifth Edition?
Er, sorry, I should have actually looked at my XML output I guess.  It
looks like:

<dir modified="2008-01-18 13:19:46 -0500" path="/mnt/libnetapp1"
permissions="r">
  <dir modified="2007-09-13 12:41:08 -0400"
path="/mnt/libnetapp1/donatus" permissions="r"/>
  <file modified="2005-03-22 15:03:43 -0500"
path="/mnt/libnetapp1/._00000229.tif" permissions="r"/>
</dir>

Kevin


On Feb 18, 2008 11:48 AM, Mukul Gandhi <> wrote:
> On Feb 18, 2008 9:56 PM, Kevin S. Clarke <> wrote:
> > Couldn't you also just do something like:
> >
> > <dir name="my root dir">
> >  <dir name="my child dir">
> >    <dir name="deep dir"/>
> >  </dir>
> >  <file name="first file in dir"/>
> >  <file name="second file in dir"/>
> > </dir>
> >
> > I wrote a similar thing and this is the format I used (with some extra
> > attributes for more information about the files and dirs).
>
> Thanks Kevin for sharing this Schema. But unfortunately, I think it
> won't work for me (or, it might? which I need to investigate a bit
> deeply).
>
> I need a 1-to-1 mapping between file system directory/file names and
> XML names. I am generating a meta data (the XML output) to be used by
> another tool (which physically sees/processes the directories/files
> and consults the XML meta data for some processing).
>
>
> --
> Regards,
> Mukul Gandhi
>



-- 
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.