Hello Michael:
Thank you for your explanation.
But most of the times, my documents do have the DTD, like this:
http://www.wapforum.org/DTD/wml_1.1.xml";>
How should I do to parse it ?
Thank you!
_
发件人: Michael Glavassevich [mailto:[EMAIL PROTECTED]
发送时间: 2008年5月28日
Hi Franck,
The JAXP Validation API [1] also supports in-memory DOM validation as well
as the secure processing feature [2]. You could use this instead of
normalizeDocument(). There are samples [3] included in the binary
distribution which show how to use it. You could also try upgrading to the
la
Hi Paul,
Xerces has no support for preserving entity references in attribute values.
See previous discussion on this topic here [1] and here [2].
Thanks.
[1] http://marc.info/?t=11702706173&r=1&w=2
[2] http://issues.apache.org/jira/browse/XERCESJ-1225
Michael Glavassevich
XML Parser Develo
Hi,
If your document doesn't have a DTD you should be able to set it to null.
Thanks.
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
"winter.pi" <[EMAIL PROTECTED]> wrote on 05/25/2008 09:17:41 PM:
> Hello:
>I’m a new use
Hi,
I'm parsing a XSL template into a DOM tree using the DocumentBuilder and
after that I visit every Node in the tree using a NodeIterator.
I also visit every attribute Node and their values. The reason I go over the
tree is because I need to find all entity references and do something every