http://qs321.pair.com?node_id=906452


in reply to Re: text to xml conversion
in thread text to xml conversion

for that you need a DTD-file

It's way better to use XMLSchema. In fact it seems the OP wants to model datatypes and how do you want to do that with a DTD? Unless you want to go down the DT4DTD road. DTDs are considered legacy nowadays. Of course it's all academic because as you indicate yourself there is no case for using XML:)

Cheers

Harry

Replies are listed 'Best First'.
Re^3: text to xml conversion
by CountZero (Bishop) on May 24, 2011 at 10:07 UTC
    DTDs are considered legacy nowadays

    Hehe, I am legacy myself ...

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James