[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Kevin S. Clarke" <ksclarke@g...>
  • To: "Mukul Gandhi" <gandhi.mukul@g...>
  • Date: Mon, 18 Feb 2008 12:04:58 -0500

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 <gandhi.mukul@g...> wrote:
> On Feb 18, 2008 9:56 PM, Kevin S. Clarke <ksclarke@g...> 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member