Betty,

I was able to take the files you attached to this message
(i.e., the ones with the syntax errors fixed), along with
the original Chapter.xml file, and successfully build html
output using xsltproc.  I used the following command line:

xsltproc --xinclude path-to-stylesheets/html/chunk.xsl Chapter.xml

where path-to-stylesheets is the directory that contains the
standard stylesheets. I was running on Linux, with the latest
stylesheet distribution.

To help debug the problem, can you post some additional
information about your environment? In particular, OS,
version of the docbook stylesheets, version of xsltproc?

Also, are you running the stylesheets from inside xmlmind,
from the command line, or in some other way?

Best Regards,
Dick Hamilton
Managing Writers: A Real World Guide to Managing Technical Documentation
http://xmlpress.net/managingwriters.html 

> -----Original Message-----
> From: Betty Ing [mailto:[email protected]] 
> Sent: Friday, April 03, 2009 9:52 AM
> To: Thomas Schraitle; [email protected]; Betty Ing
> Subject: Re: [docbook-apps] Modular DocBook still not working
> 
> 
> Hi Thomas,
> 
> You are correct that I should be validating all the files before
> applying a style sheet. SectionA and SectionB do validate now with
> XMLmind. Chapter.xml does not contain any fatal error; however, there
> is an Info pop-up obtained on validation. I have attached the pop-up
> and the two revised sections. Chapter.xml has not changed (still 2001
> date for XInclude).
> 
> After the transform, I'm still getting the initial errors, that is:
> 
> -----
> 
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
> 
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
> 
> Writing index.html for chapter
> 
> -----
> 
> What next???
> 
> Betty
> 
> 
> On Fri, 03 Apr 2009 16:45:17 +0200
>  Thomas Schraitle <[email protected]> wrote:
> > Hi Betty,
> > 
> > > Thanks to Remko, Camille, and Thomas for your suggestions. I have
> > since
> > > modified SectionA and SectionB accordinly; Chapter is still the
> > same as
> > > before.
> > >  
> > > I am still getting the following errors:
> > > [...]
> > > What else am I still missing? Suggestions are welcome.
> > 
> > Your XML files are still invalid. I've attached a diff between old
> > and new
> > version. Hope that helps you. If you have question, don't hesitate.
> > :-)
> > 
> > Before you can apply any stylesheet, make sure your whole 
> document is
> > valid.
> > 
> > 
> > Tom
> > 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to