How can I get ACL or C# to give me the full path and filename to the DTD for the current file? In C#, I'm able to get the filename only (no path) by using a node's OwnerDocument.Doctype.SystemId property. In ACL, I'm trying to use the dtd_decl_path() function, but it just won't give me any results when I supply it with the Public Id and catalog path. I've also tried the catalog_resolve() method, which is similar, but with no success.
Obviously this data is available to Arbortext; I just can't figure out how to get to it. It seems as though I shouldn't have to supply a Public Id, or catalog path, or anything since Arbortext has already resolved all of this and is quite aware of the DTD and its location. This information show up on Help -> Session -> Document tab. How can I get ACL to give me this info?
The ACL function doc_type_file() returns the path and filename of the DTD/schema used for the current document. doc_type_dir() returns the path without the DTD/schema filename.
"WYSIWYG is last-century technology!"