On Mar 14, 2007, at 1:22 PM, Garrett, Philip (MAN-Corporate) wrote:
$input = XML::Xerces::MemBufInputSource->new($text); $parser->parse($input);You can also pass it a filename ("system id") if you want it to be identified in error messages: # reports errors as coming from foo.xml, but uses xml in $text $input = XML::Xerces::MemBufInputSource->new($text,"foo.xml");
perfect, thanks for your help! -lev --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
