OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML Directory structure



Thanks for the reply. Sorry to be a pain, but I could not find CS104 in the
W3.org site. When I checked in Yahoo, I got a lot of computer course
descriptions. :) Where is it located?

Also, one other question, which I am having a problem answering. Where may I
find standards on the naming of elements? Of particular interest is whether
lower case or upper case is perferred. I know that technically, either case
is sufficient. Charles Ashbacher (SAMS Teach Yourself XML in 24 Hours) uses
capitalized and upper case. (Upper case was argued for as highlight tag
names from the rest of the web page.) Eilliotte Rusty Harold (XML Bible)
uses upper case. XML Magazine primarily uses lower case, but I have seen an
occasional capitalized entry. 

Similarly, what about attributes?

-----Original Message-----
From: Peter Flynn [mailto:peter@silmaril.ie]
Sent: June 21, 2001 6:15 PM
To: xml-dev@lists.xml.org
Subject: Re: XML Directory structure


On Thu, 21 Jun 2001, Hewko, Doug wrote:
> Hello!
> 
> I am new to XML and am wondering what experiences people have in designing
> their XML applications. Is is better to have your XML files in a single
> directory (grouped according to function) or with your HTML pages?

It's better to let this follow the design of your data model
for the application than try to predicate it on a specific
directory structure.

> In favour the single directory, I was thinking that this makes sense when
> you include all the style sheets and associated files and take security
into
> account. It is easier to change access to a single directory than multiple
> files when new files may be added. 

Not if you have the right system management tools.

> To illustrate, assume a simple page that
> will use XML for a phone list and web page links. I woud put the phone
list
> in "xmlcontact" and web page links in "xmllinks". 

I'm not clear if those are meant to be filename or element type
names, but if it was my decision I wouldn't prefix anything with
"xml" and I'd probably put the phone list in a file called
"phones" and the links in a file called "links". Don't make
things more complicated than they need to be.

> I could not find any standards that directly relate to this, but I did not
> expect to find any either as it is more of a personal preference. 

Directory structures get covered somewhere about CS104.

///Peter

------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org