I'm trying to use XmlParse to parse an XML document which has a DTD defined
in the directory above the XML document.

ie. defined at the top of the XML document
<!DOCTYPE Article SYSTEM "../hn-article.dtd">

When I try to use XmlParse on the document i get the following error:

Relative URI "../hn-article.dtd"; can not be resolved without a base URI.

Does anyone have any idea how i can set a base URI? Making changes to the
actual XML is not really an option.

Any help would be appreciated.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233104
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to