Yeah, this is a problem. The easiest thing to do is to use character codes on your XML - there are a number of conversion tools on the net. That's sort of a pain in the ass though. The other way to do it, which is a total hack is to use a textarea tag like so:
%textarea :plain <?xml version="1.0" encoding="UTF-8"?> <vendor-drafts type="array"> <vendor-draft> <serial-number>000000037</serial-number> </vendor-draft> </vendor-drafts> irritating either way, but its pretty easy to do. On Dec 9, 9:29 pm, Karl <threadh...@gmail.com> wrote: > Yes, escape it, sorry for the typo. > > I tried-- > :cdata > > <?xml version="1.0" encoding="UTF-8"?> > > The resulting html-- > ]]> > > Am I missing something? -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.