Re: [xml] Environment Variables in XML are parsed by libxml2 ?



Am Sonntag, den 21.10.2007, 13:44 +0530 schrieb Arijit Das:
Is there any way I can change the following DTD spec inside my XML
document from this:

<!DOCTYPE ENVCAP SYSTEM "/remote/vgsource1/arijit/Tc.Perforce/lib/envcap.dtd">


...to this =>
<!DOCTYPE ENVCAP SYSTEM "$(TCHOME)/lib/envcap.dtd">

Why don't you simply use a catalog? You can prepare it on-the-fly using
xmlcatalog and then you could also read ${TCHOME} to prepare the
catalog, although I'm not sure, if this is necessary. Adding the catalog
to XML_CATALOG_FILES is probably enough. Depends on what you want to do.

Regards, Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]