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

Problems executing Oracle XSQL v1.0.1.0

Subject: Problems executing Oracle XSQL v1.0.1.0
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Aug 2000 11:45:22 -0400
xmlparserv2.jar
At 00/08/24 07:43 +0100, Pawson, David wrote:
 Steve Muench
>   $ oraxsl source.xml style.xsl output.xyz
>
> The only JAR you need in the path for this is
> the xmlparserv2.jar.

Yep, got it to work that way this morning Steve, thanks
for the note.

I was not so lucky this morning ... I downloaded the ZIP but I needed three files in my directory, not just the one:


Directory of P:\oracle\xsltcurr\bin

00/08/24  11:10         <DIR>          .
00/08/24  11:10         <DIR>          ..
00/07/11  01:46              1,106,738 xmlparserv2.jar
00/08/04  12:41                200,725 oraclexsql.jar
00/07/31  18:30                  8,949 XSQLConfig.xml

For non-java heads, I needed

rem wherever you keep the oracle .jar files
set XSQL_HOME=C:\myjava\oracle
REM Oracle XML Parser V2 (with XSLT Engine) Archive
set CP=%XSQL_HOME%\xmlparserv2.jar;
rem %1 = xml file, %2 is stylesheet, %3 is output.
java -classpath %CP%  oracle.xml.xsql.XSQLCommandLine %1 %2 %3

And I'm still having problems with the following:



X:\samp>jre -cp "p:\oracle\xsltcurr\bin\xmlparserv2.jar;p:\oracle\xsltcurr\bin\oraclexsql.ja r;p:\oracle\xsltcurr\bin\." oracle.xml.xsql.XSQLCommandLine hello.xml hello.xsl t:\hello.htm
Oracle XSQL Command Line Page Processor 1.0.1.0 (Production)
XSQL-006: XSLT stylesheet is not well-formed: hello.xsl
XML parse error at line 1, char 1
Start of root element expected.



The stylesheet I give is valid, but the above command line appears to empty out the stylesheet file creating a zero-length file and no output, requiring me to refresh my stylesheet file for the next attempt.


Has anyone else had these problems and can see what I'm doing wrong? I'm sure it must be something simple.

Thanks!

................... Ken

--
G. Ken Holman                    mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Book: Practical Transformation Using XSLT and XPath ISBN1-894049-05-5
Article:          What is XSLT? http://www.xml.com/pub/2000/08/holman
Next public instructor-led training:     2000-09-19/20,2000-10-03/05,
-        2000-10-09/10,2000-10-19,2000-11-12,2000-12-03/04,2001-01-27


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.