This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

XML Schema or DTD?

Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • 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.
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic