|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Changing DOCTYPE during runtime
> -----Original Message----- > From: Ranjan K. Baisak [mailto:ranjanbaisak@xxxxxxxxx] > Sent: 30 August 2004 12:29 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Changing DOCTYPE during runtime > > Hello List, > My xml contains <!DOCTYPE project PUBLIC > "-//XYZ Corporation//Project 1.3//EN" > "h:/xyz_project/dtd/project.dtd"> and to change the > hardcoded "h:", I declared a system variable PROJ_HOME > and I changed the declaration > <!DOCTYPE project PUBLIC "-//XYZ Corporation//Project > 1.3//EN" "$PROJ_HOME:/xyz_project/dtd/project.dtd">. > I am setting PROJ_HOME during runtime but still the > same thing is not reflected in xml document. > Am I doing something wrong? Firstly, this question has nothing to do with XSLT. Secondly, references to environment variables such as $PROJ_HOME are replaced by the contents of the variable only when you are executing a shell script, not when you are running software such as an XML Parser. The correct mechanism to use here is a relative URI. Michael Kay
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








