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

Re: Ten Years Later - XML 1.0 Fifth Edition?

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

Re:  Ten Years Later - XML 1.0 Fifth Edition?
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).

Kevin


On Feb 18, 2008 11:09 AM, Mukul Gandhi <gandhi.mukul@g...> wrote:
> On Feb 18, 2008 8:27 PM, Nicholas Sushkin <nsushkin@o...> wrote:
> > In many cases the files and directories are named after music pieces and
> > created by a music management program from the music title. Those names
> > contain a lot of spaces, quotes, punctuation, non-ASCII and other
> > characters.
>
> Thanks for the information. I have not closely looked at music file
> names. It surely sounds vastly incompatible to XML name rules.
>
> The problem I was having is - Given a root directory, I needed to
> generate a XML hierarchy depicting the file system hierarchy, starting
> from the given root. I wrote a recursive Java program and converted
> the information to XML, using Xerces DOM implementation.
>
> Some of the directory/file names didn't conform to the XML name
> conventions. Like, some directory names started with numeric. Some
> contained characters like - (hyphen), ~ etc.
>
> Would somebody agree with me, that XML names should allow such rules?
> My problem could serve as a use case ...
>
>
> --
> Regards,
> Mukul Gandhi
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>



-- 
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]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.