Pascal...

> Hi mars, thanks for the piece of code i'm going to use it .

Nice...keep in mind that the simple logger script I provided will not 
support concurrent users...you may want to  go on and write those neatly 
formatted errors to the Response stream (the client browser) instead of 
a file in a production environment.

> QUESTION:
> is there a streamline approach for sablotron functions in PHP ? like
> the xml_parse() for expat ?
>
> in your code below the xsl_run () is an whole-approach as well,
> right ? but what if very big documents ?

xslt_output_begintransform() & xslt_output_endtransform() seem to 
support transforming multiple fragments of XML (to the response stream) 
without reinstantiating the Sablotron processor ...have you checked into 
them?

- Mars

Reply via email to