On Thu, Jul 23, 2009 at 10:14:34PM -0700, Al Pacifico wrote:
> [SOLVED]
> 
> For anyone who follows, the problem was with the
> xmlDocDumpFormatMemoryEnc call. When that line and the following "if
> (buffer)" conditional expression were replaced with "if
> (!xsltSaveResultToString(&buffer, &length, pDocOutput, cur))", the
> problem went away.

  Yes, because the informations about how to *serialize* the
XSLT output is not part of the resulting tree, it's information
remaining in the stylesheet, which is why the use of the
transformation context is needed to properly serialize.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to