[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

how to influence dtd processing?

Subject: how to influence dtd processing?
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2000 14:02:48 -0800
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.