You will not need a schema for the HTML.
You will be sending your HTML as string out of BizTalk so all you need is
a
schema with one element with an <xs:any processContents="skip" /> child to
allow any content (HTML content in your case)
you can then follow any of the "raw string formatter" examples out there.
here's one -http://www.winterdom.com/weblog/CommentView,guid,532.aspx
Yossi Dahan
"Zoe Hart" <zoe.hart@[EMAIL PROTECTED]
> wrote in message
news:eATdVQurIHA.2492@[EMAIL PROTECTED]
> I've seen simple examples of sending an XML message as the body of an
> email message. And I've seen examples of using an external HTML file as
> the body of the message. I assume it's not too hard to do what I want to
> do, but I haven't seen examples or references to what I want to do. I
want
> to send an HTML-based email, the content of which is based on the
contents
> of an XML message. So I assume I just need a map to map my XML message
to
> the HTML I want in the mail message, but there are little details that
are
> hanging me up. First of all, I'm kind of making up a schema for an HTML
> do***ent:
> <html>
> <body>
> <a href="..."></a>
> </body>
> </html>
> I'm not sure if there are good guidelines for defining the schema for an
> HTML mail message.
> If I map my XML message to the schema above and give it a namespace like
> http://mycompany.com/mymessage/v1,
then the output of the mapper has
that
> namespace defined with prefix ns0: and all the nodes of the output html
> are prefixed with ns0:, but with that namespace the browser doesn't
> recognize basic tags like <a> as anchor tags.
> Are there any good examples of generating an HTML-based email from an
XML
> message?
> Thanks,
> Zoe
>


|