On Mar 10, 2004, at 8:56 AM, [EMAIL PROTECTED] wrote:
Example (readers familiar with the problem may
skip this):
Dear Mr.Robert Smith.
This structure is represented by the XML Schema
How would you represent this in Haskell?
A first idea may be to store the enclosing strings:
data Salutation
Hello,
thank you for the references. Looks promising. I will read
it carefully.
A nice solution I really like was found by Alastair Reid. He
proposed to me (hope it is ok to cite this) the declaration:
data Salutation = [Either Char Name]
We think it will not scale well, too, however, it is ele
I have started thinking about an extension of
HaXml to better support XML Schema, i.e., to
generate appropriate types (like DtdToHaskell)
automatically (cf. Castor for Java).
However, it is not obvious to me how to model
mixed content (character data appears alongside
subelements, i.e., it is not c
Hello,
I have started thinking about an extension of
HaXml to better support XML Schema, i.e., to
generate appropriate types (like DtdToHaskell)
automatically (cf. Castor for Java).
However, it is not obvious to me how to model
mixed content (character data appears alongside
subelements, i.e., it