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

Advice for "conditional" DTD parameter prior to parsing

Subject: Advice for "conditional" DTD parameter prior to parsing
From: Bruce Rosenstock <bbrosenstock@xxxxxxxxxxx>
Date: Thu, 27 Apr 2000 10:58:47 -0700 (PDT)
conditional dtd
Folks, 

I got one or two responses to a question I submitted about how to 
dynamically change the Entity declaration set to either use unicode or
Latin-based transcriptions, depending on client's choice. Since an XSL
transform does not have access to the DTD, I need to go one step back and
substitute an "INCLUDE" into an "IGNORE" in a conditional parameter
declaration in the internal DTD (or invoke another external DTD with this
setting). I wonder if people can suggest the best method for this. I
notice, for example, that the sun Java-X Project's xml parser offers a
Resolver class which responds to DTD events; it also offers XmlRpcServlet
and XmlRpcClient for exchanging messages via HTTP POSTing which can invoke
the Resolver class and write out XML documents. Presumably a servlet chain
could take a POST with a URL to an XML file and a "unicode/ignore"
name/value parameter, write in the correct conditional string (or the
correct PUBLIC ID to the appropriate DTD), then pass the file along to an
XSLT parser. Not being a programmer, I am looking for confirmation of my
hunch about how to do this, or advice about a better way.

All the best,

Bruce Rosenstock
University of California, Davis 


 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.