Transform scenario systematically returns XML output

urlisse - September 11, 2009 - 16:23
Project:XML Content
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

XSLT stylesheets should be able to specify the output method (xml, html or text) of a transformation. The current transform method systematically returns XML output. This is a problem, especially since we normally need to output HTML content. Empty tags, for instance could break the display. This patch uses the transformToXML method, which takes into account the output method of the stylesheet.

AttachmentSize
d6-xmlcontent-r1.10-transformation.patch859 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.