How do I parse a DOM Document? The document is read from file and then
alterd interactivly by the user. Before I write it to file I'd like to
verify that it's valid according to the dtd.



$parser->parse (XML::Xerces::StdInInputSource->new("foobar.xml");
$doc = parser->getDocument();

# Do some modifications to $doc

# Now I need to parse $doc again, but how...?

-- 
Lars Preben

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

Reply via email to