<..search file for xtpipes instruction..>
/*
errMsg = "Searching <?xtpipes file=\"...\"?> in "
+ inFile + ": ";
*/
scriptFile = inputObject.getXtpipes();
rootName = inputObject.getRoot();
needScript = true;
-_-_-
<..search file for xtpipes instructionOLD..>
errMsg = "Searching <?xtpipes file=\"...\"?> in "
+ inFile + ": ";
<.get sax reader.>
saxReader.setContentHandler( new XtPipesSearch() );
try{
saxReader.parse( new File(inFile).toURI().toURL().toString() );
} catch ( java.io.FileNotFoundException ioe ){
try{
saxReader.parse( new InputSource(
new URL(inFile) . openStream() ));
} catch ( java.io.FileNotFoundException fnf ){
saxReader.parse( new File(inFile).toURI().toURL().toString() );
} }
saxReaderStack.push( saxReader );
-_-_-