I apologise if this is a stupid question, but Ive looked many places and not 
quite found the answer.

I want to read a file ascertain its doctype and then validate it against my 
chosen dtd based on doctype.

My problem is twofold. First I need to parse the document to get the doctype 
but will the parser make this available?

Secondly having parsed it once, re-parse telling the parser to use my chosen 
dtd ignoring any specified in the file, is this possible?

Hope someone out there can help (or at least point me in the direction of a 
good place to look)

Thanks

Rom

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to