----- Original Message -----
Sent: Friday, July 15, 2005 9:09 AM
Subject: [docbook-apps] Problems
processing autolayout.xml
HI LIST,
I'm having a problem proccessing
the autolayout.xml generated from my layout.xml proccessed with
autolayout.xsl.
I'm using Saxon (ver.6.5.4.XSLT v1.0) with the website
DTD (ver. 2.5.0.), when I ran Saxon it was giving me a whole lot of errors
with the actual stylesheets (I'm using chunk-website.xsl which imports a whole
lot more .xsl files), it had errors like not being able to fetch the DTD,
undefined variables and undefined elements. Afterwards, I tried again
fixing some of the DTD fetching, so it finds the DTDs now but when run, Saxon
does not output anything...no errors, no html, no nothing...What's going o n
??? I am o nly generating 5 simple pages as a test, but can not get
DocBook website to work !!!
here's my layout.xml
:
---------------------------------------------------------------------------------------------------
<?xml
version="1.0"?>
<!DOCTYPE layout PUBLIC "-//Norman Walsh//DTD Website
Layout V2.4.0//EN"
"http://docbook.sourceforge.net/release/website/2.5.0/schema/dtd/layout.dtd">
<layout>
<copyright>
<year>2005</year>
<holder
role="http://www.cequrux.com/">Cequrux
Technologies</holder>
</copyright>
<style src="example.css" type="text/css"/>
<toc
page="website.xml" filename="index.html">
<tocentry page="About.xml" filename="About.html"
tocskip='1'>
<tocentry
page="ContactUs.xml" filename="ContactUs.html"
revisionflag="changed"/>
<tocentry
page="Careers.xml"
filename="Careers.html"/>
<tocentry
page="People.xml" filename="People.html"/>
</tocentry>
</toc>
</layout>
-------------------------------------------------------------------------------------------------------------------
here's
the generated autolayout.xml
file:
-------------------------------------------------------------------------------------------------------------------
<?xml
version="1.0" encoding="utf-8"?>
<!DOCTYPE autolayout
PUBLIC "-//Norman Walsh//DTD Website Autolayout V2.4.1//EN"
"http://docbook.sourceforge.net/release/website/2.4.1/schema/dtd/autolayout.dtd">
<autolayout>
<config
param="text-prefix" value="txt"/><config param="homebanner-tabular"
value="graphics/homebanner.png" altval="Home Banner"/><config
param="banner-tabular" value="graphics/banner.png"
altval="Banner"/><config param="homebanner"
value="graphics/homebanner.png" altval="Home Banner"/><config
param="banner" value="graphics/icons/iconhome.gif"
altval="Banner"/><copyright><year>1999</year><year>2000</year><year>2001</year><holder
role="http://nwalsh.com/~ndw/">Norman
Walsh</holder></copyright><headlink rel="icon"
href="http://nwalsh.com/images/nwalsh-icon16.png"
type="image/png"/><style src="example.css" type="text/css"/><toc
page="website.xml" id="home" filename="index.html">
<title>About
the Test Home Page</title>
<summary>About the Test Home
Page</summary>
<tocentry page="About.xml" id="About"
filename="About.html" tocskip="1">
<title>About
Cequrux</title>
<summary>About
Cequrux</summary>
<tocentry revisionflag="changed"
page="ContactUs.xml" id="ContactUs"
filename="ContactUs.html">
<title>Contact
Cequrux</title>
<summary>Contact
Us</summary>
</tocentry>
<tocentry page="Careers.xml"
id="Careers" filename="Careers.html">
<title>Cequrux
Careers</title>
<summary>Cequrux
Careers</summary>
</tocentry>
<tocentry page="People.xml"
id="People" filename="People.html">
<title>Cequrux
People</title>
<summary>Cequrux
People</summary>
</tocentry>
</tocentry>
</toc>
</autolayout>
-------------------------------------------------------------------------------------------------------------------
I
run Saxon like
this:
-------------------------------------------------------------------------------------------------------------------
java
-jar saxon.jar path/to/autolayout.xml
path/to/autolayout.xsl
-------------------------------------------------------------------------------------------------------------------
I
can wait forever but nothing happpens !!!
Please help
!!!
Sincerely,
DASH
-----------------------------------------------------------------
Поръчай книги онлайн!a>