diff --git a/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml b/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml new file mode 100644 index 0000000000..6dd62d3712 --- /dev/null +++ b/reference/domxml/functions/DomXsltStylesheet-result-dump-mem.xml @@ -0,0 +1,73 @@ + + + + + DomXsltStylesheet->result-dump-mem + + Dumps the result from a XSLT-Transformation back into a string + + + + Description + + stringDomXsltStylesheet->result-dump-mem + objectDomDocument + + + &warn.experimental.func; + + + This function is only available since PHP 4.3 + + + Since DomXsltStylesheet->process() always returns a well-formed XML DomDocument, + no matter what output method was declared in ]]> and similar + attributes/elements, it's of not much use, if you want to output HTML 4 or text data. + This function on the contrary honors ]]> + and other output control directives. See the example for instruction of how to use it. + + + + Outputting the result of a XSLT transformation + +process($xmldoc); +print $xsldoc->result_dump_mem($result); +?> +]]> + + + + + See also domxml_xslt_result_dump_file, + domxml_xslt_process + + + + + + +