Topic: XML as fileformat Pages that link to <a href="https://ozoneasylum.com/backlink?for=25665" title="Pages that link to Topic: XML as fileformat" rel="nofollow" >Topic: XML as fileformat\

 
Author Thread
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 05-03-2005 18:55 Edit Quote

i'm developing an application and use XML files to define a custom fileformat.
now of course the XML has to have a certain structure or else the app will crash.

how can i define something like a doctype which the user can use to validate the XML?

DmS
Maniac (V) Inmate

From: Sthlm, Sweden
Insane since: Oct 2000

IP logged posted posted 05-03-2005 22:28 Edit Quote

What you'd probably want to do is to create a DTD for the XML, a DTD is basically the rules used to validate the XML against.

Take a look here http://www.xmlfiles.com/dtd/ to see if you can make heads or tails of it, it's not crystal clear and dead simple if you have a lot of rules, that's for sure
/Dan

{cell 260} {Blog}
-{ ?The Internet treats censorship as a malfunction and routes around it.? (-Barlow, John Perry) }-

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

IP logged posted posted 05-04-2005 01:24 Edit Quote

ALA has a fairly good article on this kind of thing... pardon me a moment while I dig it up...

Here we go


Justice 4 Pat Richard

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 05-05-2005 19:14 Edit Quote

thank you!

that will help me!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu