• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML Schema or DTD?

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
First, i have to say that i am new to xml. My recent project should provide the inteface between db systems and the well known accounting programm using middleware connection.
i noticed the accounting application provides DTD and they recommend follows their own DTD.
i succeeded to load the data from db in my interface application and generate the generic simple well formed xml syntax described by XML Schema.
In order to match DTD of the accounting programm, i should change the structure of generated XML Schema and data files while considering their DTD.
My question is
1. Which one between XML Schema and DTD is better in this specific case(accounting provides their own DTD and also accepts XML Schema as validaiding process)? i know in general XML Schema is much flexible but seems to figure out more.
2. In order to change the structure of the data to match the application, what API is suitable ?
XSL or DOM, it seems SAX doesn suitable.
My whole problem is i don understand much about XML and does not have time to study the general XML study right now.
I really appreciate for any tips.
 
reply
    Bookmark Topic Watch Topic
  • New Topic