Hello Michael:

       Thank you for your explanation.

       But most of the times, my documents do have the DTD, like this:

<?xml version="1.0" encoding="utf-8"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD
WML 1.1//EN" "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日 19:21
收件人: j-users@xerces.apache.org
抄送: [EMAIL PROTECTED]
主题: Re: how to user WMLDocumentImpl

 

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 user of xerces. I want to user WMLDocumentImpl to 
> parse wml document , just like HTMLDocumentImpl.
>        But there is a parameter of DocumentType which I didn’t know 
> how to set. 
>        Does anybody show me an example of it ? 
>        Thank you .
>  
>  
> Winter.pi
> [image removed] 
> R&D Dept, Roboo Inc.
> MSN: [EMAIL PROTECTED] 
> TEL: 0512-62959785
> www.roboo.com , wap.roboo.com

Reply via email to