|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] how to influence dtd processing?
nsgmls has a command line -i option whereby "-iname" is the same as: <!ENTITY % name "INCLUDE"> i'd like to do the same thing with xt (or any xslt processor). but i don't think they support it. i don't even see mention of how this can be done via their various servlet apis (didn't look too closely though; i'm mostly using command line xslt exe's now for ease of debugging). if i could access an environment variable from inside a dtd, that would do it. if i could set a search path for relative system paths (wrong sgml jargon, i'm sure), that would do it too: i could just do this: <!ENTITY % variable_settings SYSTEM "variable_settings.dtd"> %variable_settings; and then have multiple versions of the file variable_settings.dtd in different directories. of if i could just have a -i command line option, that would do it. but i can't seem to find any lever with which to enable me to do this. right now, i'm going in and hand-editing the dtd each time i want to exchange an "INCLUDE" with an "IGNORE". if i don't hear of an other solution, then i'll have to stick an ugly hack in my makefile that automates that hand-editing, and/or generates the dtd on the fly.... -mda XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








