
Hamlet for XML would probably help, yeah. Does it work already, or are there
some necessary changes? Although it's maybe a bit too heavyweight for just
generating small XML documents that tell S3 to apply location constraints?
Parsing from a string would not make any sense as the next thing I do is
send it down a socket. I want to use Document for the added safety, there.
If there's a safe option that directly generates a ByteString or Builder,
that would work too.
Aristid
2011/7/3 Michael Snoyman
On Sun, Jul 3, 2011 at 12:41 AM, Aristid Breitkreuz
wrote: Hi, I want to construct a Document object from scratch. Using only xml-types, this can be somewhat cumbersome. Is there a better way? Maybe a package?
Aristid
One approach is to use the parse functions from xml-enumerator. Something I've toyed around with before is adding the ability to Hamlet to produce XML documents. Is this the kind of idea you're looking for?
Michael