You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by David Parker <dl...@facstaff.wisc.edu> on 2000/03/22 20:27:03 UTC

XSL DocBook Stylesheets, dbx106.zip with java org.apache.xalan.xslt.Process

Problems parsing the XSL DocBook Stylesheets.
Has anyone played with combination?

------------------------------------------------------------------------
I've installed the XSL DocBook Stylesheets, dbx106.zip (current 
version  1.6 from 28 Jan 2000) , into directory E:\docbook
And added these  DTDs.
E:\docbook\dbtblcals.dtd
E:\docbook\dbtblxchg.dtd
E:\docbook\docbookx.dtd

  E:\docbook
<DIR>          fo
<DIR>          html
<DIR>          lib
<DIR>          template
<DIR>          test
<DIR>          xhtml


And modified the E:/docbook/test/test.xml to

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN"
                 "http://www.nwalsh.com/docbook/xml/3.1.7/docbookx.dtd">


E:\docbook\test>java org.apache.xalan.xslt.Process   -in 
E:/docbook/test/test.xml    -xsl E:/docbook/html/docbook.xsl    -out o.html

========= Parsing file:E:/docbook/html/docbook.xsl ==========
XSL Warning: xsl:stylesheet requires a 'version' attribute!, Location 
file:E:/docbook/html/titlepage.templates.xsl, line 2, offset 66
XSL Error: xsl:apply-templates has an illegal attribute: match, Location 
file:E:/docbook/html/titlepage.templates.xsl, line 48, offset 57
XSL Error: Could not parse file:E:/docbook/html/docbook.xsl document!, 
Location file:E:/docbook/html/titlepage.templates.xsl, line 48, offset 57
XSL Error: processStylesheet not succesfull!, Location 
file:E:/docbook/html/titlepage.templates.xsl, line 48, offset 57
XSLT:
Xalan: was not successful.
XSLProcessor: done

E:\docbook\test>


Re: XSL DocBook Stylesheets, dbx106.zip with java org.apache.xalan.xslt.Process

Posted by David Parker <dl...@facstaff.wisc.edu>.
Thank you, sir!
I thought that I would pass on some good news.
The parse and the transformation worked. See listing below.
I will study your art work now!!!!
Good day.


Experimental Releases
The current experimental version is 1.8 from 18 Feb 2000.
http://nwalsh.com/docbook/xsl/index.html

At 02:34 PM 3/22/00 -0500, you wrote:

>| I've installed the XSL DocBook Stylesheets, dbx106.zip (current
>| version  1.6 from 28 Jan 2000) , into directory E:\docbook
>
>Try 1.8, which is marked as experimental, but will probably go to a
>real release within a day or two. In any event, I think it fixes these
>errors. (Xalan is more observant than XT :-)
>
>                                         Be seeing you,
>                                           norm

E:\docbook>java org.apache.xalan.xslt.Process 
-in  E:/docbook/test/test.xml  -xsl E:/docbook/html/docbook.xsl -out out.html
========= Parsing file:E:/docbook/html/docbook.xsl ==========
Parse of file:E:/docbook/html/docbook.xsl took 7361 milliseconds
========= Parsing E:/docbook/test/test.xml ==========
Parse of E:/docbook/test/test.xml took 2944 milliseconds
=============================
Transforming...
transform took 1592 milliseconds
XSLProcessor: done

Sincerely,
David Parker

mailto:david.parker@doit.wisc.edu

Library, Instructional & Retrieval Applications,
Division of Information Technology,
1210 West Dayton Street, Madison WI  53706
Phone: 608.265.7829     FAX: 608.265-6453 

Re: XSL DocBook Stylesheets, dbx106.zip with java org.apache.xalan.xslt.Process

Posted by Norman Walsh <nd...@nwalsh.com>.
/ David Parker <dl...@facstaff.wisc.edu> was heard to say:
| <?xml version="1.0" encoding="utf-8"?>
| <!DOCTYPE book PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN"
|                  "http://www.nwalsh.com/docbook/xml/3.1.7/docbookx.dtd">
| 
| Does the version level remain the same?

Of the DTD? Sure.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <nd...@nwalsh.com>      | We look back on our life as a
http://nwalsh.com/                 | thing of broken pieces, because
                                   | our mistakes and failures are
                                   | always the first to strike us, and
                                   | outweigh in our imagination what
                                   | we have accomplished and
                                   | attained.--Goethe


Re: XSL DocBook Stylesheets, dbx106.zip with java org.apache.xalan.xslt.Process

Posted by David Parker <dl...@facstaff.wisc.edu>.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//Norman Walsh//DTD Simplified DocBk XML V3.1.7.1//EN"
                 "http://www.nwalsh.com/docbook/xml/3.1.7/docbookx.dtd">


Does the version level remain the same?

At 02:34 PM 3/22/00 -0500, you wrote:
>| I've installed the XSL DocBook Stylesheets, dbx106.zip (current
>| version  1.6 from 28 Jan 2000) , into directory E:\docbook
>
>Try 1.8, which is marked as experimental, but will probably go to a
>real release within a day or two. In any event, I think it fixes these
>errors. (Xalan is more observant than XT :-)
>
>                                         Be seeing you,
>                                           norm
>
>--
>Norman Walsh <nd...@nwalsh.com>      | Reality is what refuses to go away
>http://nwalsh.com/                 | when I stop believing in
>                                    | it.--Philip K. Dick

Sincerely,
David Parker

mailto:david.parker@doit.wisc.edu

Library, Instructional & Retrieval Applications,
Division of Information Technology,
1210 West Dayton Street, Madison WI  53706
Phone: 608.265.7829     FAX: 608.265-6453 

Re: XSL DocBook Stylesheets, dbx106.zip with java org.apache.xalan.xslt.Process

Posted by Norman Walsh <nd...@nwalsh.com>.
| I've installed the XSL DocBook Stylesheets, dbx106.zip (current 
| version  1.6 from 28 Jan 2000) , into directory E:\docbook

Try 1.8, which is marked as experimental, but will probably go to a
real release within a day or two. In any event, I think it fixes these
errors. (Xalan is more observant than XT :-)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <nd...@nwalsh.com>      | Reality is what refuses to go away
http://nwalsh.com/                 | when I stop believing in
                                   | it.--Philip K. Dick