|
From: John D. <jo...@oh...> - 2006-08-04 20:55:46
|
Hi All,
I'm attempting to change the default source path in XTF from a subdirectory
under the XTF_HOME (e.g. pr/ft158004pr/ft158004pr.xml) to a URL on my web
server. Ultimately, I'd like to make that a call into a Fedora Repository,
but for now a simple HTTP reference will work for demonstration purposes.
DynaXML.conf says that when a document is requested, dynaXML runs
docRequestParser to obtain several things, including the source path.
docReqParser.xsl assigns by default the source path equal to
"{concat('data/',$docID)}" - essentially the "data" subdirectory plus the
docID passed on the query string.
DefaultDocLocator.java retrieves the datastream for an XML source document
by assigning an InputSource. The first thing it checks for is whether or not
the source path starts with "http" or "https".
To my understanding, it should be possible to change the docReqParser value
for "source path=" to a URL, yes?
I can't seem to craft the correct value, or else there are elements here I
have yet to consider.
Source path="{concat('http://mywebserver.edu/',$docID)}" or something
similar. Does anyone have experience with this process?
Thanks in advance.
John Davison
Systems Developer
OhioLINK Digital Resource Commons
|