How does one open a file (on the filesystem) *without* stripping the DTD decl?

Usually I do xdmp:document-get("/home/me/file.xml") to read files, however...

In this case...file.xml has a DTD declaration...one that I would like to 
extract from the file and parse...but xdmp:document-get() will **strip** DTD 
decls :(

So is there a way to read the file *without* stripping the DTD decl? Can I tell 
MLS to read the file as a plain string instead of as xml?

Or better yet, does MLS keep the DTD info that I can retrieve instead of me 
parsing it?

thanks
/marv



      
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to