Slashdot Mirror


DTD vs. XML Schema

AShocka writes "The W3C XML Schema Working Group has released the first public Working Draft of Requirements for XML Schema 1.1. Schemas are technology for specifying and constraining the structure of XML documents. The draft adds functionality and clarifies the XML Schema Recommendation Part 1 and Part 2. The XML Schema Valid FAQ highlights development issues and resources using XML Schema. This article at webmasterbase.com addresses the XML DTDs Vs XML Schema issue. Also see the W3C Conversion Tool from DTD to XML Schema and other XML Schema/DTD Editors."

1 of 248 comments (clear)

  1. Re:Who needs XML when you got PXML? by Anonymous Coward · · Score: 5, Interesting

    Better yet, use S-Expressions.
    There are tons of parsers available.
    markup is simple:
    (this_is_the_tag
    this is all data
    (except_this_is_a_nested_tag with still more data))

    Even better still, there are customizable parsers available that can treat these S-Expression as data OR interpret them as program OR a combination of both. One such parser is called "Lisp". Once again, several implementations are available.
    Note that things like S-Expressions and Lisp have only been around for 40 years so you might want to give these technologies some time to mature.