Subject:include path for external entities Author:Stephen Daly Date:04 Apr 2007 11:25 AM
I have XML documents that include external entity files like this:
<!DOCTYPE Views SYSTEM 'Design_any.dtd' [
<!ENTITY % xxx_base_ent SYSTEM '..\common\xxx_base.ent'>
I'm running this through xsltproc which reads in and resolves the entities. I like to replace the hardcoded relative path somehow, either through an environment variable or passing in resource path. Does XML support this and is there some xslt processor that provides this?