"Igor Vrdoljak" <[EMAIL PROTECTED]> writes:

> I,m using xerces-p to parse and manage Xml files, but I can't write
> output to a file.  I tried to change STDOUT to a file pointer (in
> example scripts), but it does not work.
> 
> If someone could help me with this (I suppose rather trivial)
> problem, I would be grateful.

Hi Igor,

You'll have to be a bit more explicit. If you're having trouble,
you're probably using DOM with the DOMParse class? I don't know
how well DOMParse handles filehandles. The code is old and getting
rather crufty. It hasn't been update much since Tom Watson wrote it
for the 1.0 port.

You can always use:

  my $string = $dom_document->serialize();
  print HANDLE $string;

If this isn't what you're looking for, please be more specific, a
short example of what you're trying would help.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to