[erlang-questions] Re: XML-binary Optimized Packaging (XOP) ?
Thu Jul 16 10:03:24 CEST 2009
I did attach the file on the email, weird that it didn't show up for you.
It's now also available here: http://www.tombob.com/unxop.erl
On Wed, Jul 15, 2009 at 6:38 PM, Gleb Peregud <gleber.p@REDACTED> wrote:
> Hi Robert.
> Looks like you've forgot to attach a file / paste a link :)
> On Wed, Jul 15, 2009 at 19:11, Robert Raschke<rtrlists@REDACTED>
> > On Wed, Jul 15, 2009 at 10:25 AM, Robert Raschke <
> > wrote:
> >> Hi,
> >> before I embark on cobbling something together that makes sense of XML
> >> munged into this XOP format (http://www.w3.org/TR/xop10/) I thought I'd
> >> if anyone out there has already done this in Erlang?
> >> Thanks for any info,
> >> Robby
> > Right, I made myself a hacky un-XOP-er. It's a bit rough and ready, but
> > works for my needs (I think).
> > I'm probably not doing the setting of the #xmlText.type quite right (ie.
> > don't). This works for me because I don't care what's inside the
> > elements. But better would probably be a peek into the content-type of
> > referenced MIME part and set the type to cdata if needed. Dunno.
> > This thing depends on xmerl and the mimemail module from gen_smtp (a big
> > thanks goes out to Andrew Thompson for writing that).
> > Anyway, if anyone has a need for something similar, here it is. Beware
> > bugs.
> > Robby
More information about the erlang-questions