[Xml-compile] Using the DOM built by the toolkit

Michael Ludwig m.ludwig at epages.com
Mon Feb 20 10:00:30 GMT 2012


When using XML::Compile::WSDL11 to access a SOAP service, the
toolkit builds a DOM, which is then further processed to
deliver the data as Perl hashtable as per the information in
the WSDL.

Let's say I also want the DOM directly to apply an XSL
transformation. What's the best way to obtain a reference to
the DOM already built?

I can of course build a new DOM by parsing the content of the
HTTP::Response, which is availabe through the instance of
XML::Compile::SOAP::Trace returned by $call->( $parms ) - but
that would not be as efficient as reusing the DOM that's
already been built.

Michael



More information about the Xml-compile mailing list