Re: [docbook-apps] Docbook 5, xinclude and xpointer

From
<>
Date
2008-06-16T06:14:39+00:00
ID
Thread
Re: [docbook-apps] Docbook 5, xinclude and xpointer
Marcel

OK - my mistake ! 

 

Yes the xpointer doesn't work too well with Saxon 6.5

 

Do you get any artifacts with the XOM tool?

 

Dean

 

 

In a message dated 6/15/2008 11:07:43 P.M. Pacific Daylight Time, 
 writes:

Dean,

Thanks for the batch files. Are you sure they handle 
  the xinclude scenario I
listed? I tracked down the problem to xerces and 
  the fact that it doesn't
like xml:id. I tried xerces 2.9.1 and it still 
  seems to have the same
problem.

I ended up using XOM as proposed 
  in
http://www.sagehill.net/docbookxsl/Xinclude.html. I use the attached 
  Python
function to render pdf (this allows the exact same script to run on 
  both
Windows and 
  Linux).

Regards,

Marcel
--

http://www.nabble.com/file/p17858393/fop.py 
  fop.py 

DeanNelson wrote:
> 
> Marcel,
> These batch 
  files assume a few things about directory structure - which is  
> 
  configurable if needed. Out of the box, they assume this:
>  
  
> \doc\doctools   - this has all of the tools as below 
  in  dirs
> dejavu-fonts-ttf-2.24
> docbook-xml-4.5
> 
  docbook-xsl-1.74.0
> fop-0.94
> saxon6-5-5
> style
> 
  tools
> xerces-2_9_1
>  
> 
  \doc\documentation\   - contains all of the projects in  
  dirs
>  
> You will also need to place the "doctools\tools" 
  in your path
>  
> Other than that - your on your own and 
  will have to read though the batch  
> files. To make a PDF you 
  will need to use :
>  
> makepdf  myXmlFile    
  myXslFile
>  
> 
> 
> Regards,
> 
> 
  Dean Nelson
> 
> "Faith is acting before  feeling." - Rick 
  Warren
> 
> 
> 
> **************Vote for your city's 
  best dining and nightlife. City's Best 
> 2008.      
  (http://citysbest.aol.com?ncid=aolacg00050000000102)
> 
>  
  
>  
>  
>  
> 
  ---------------------------------------------------------------------
> 
  To unsubscribe, e-mail: 
> 
  For additional commands, e-mail: 
  
> 

-- 
View this 
  message in context: 
  http://www.nabble.com/Re%3A-Docbook-5%2C-xinclude-and-xpointer-tp17856236p17858393.html
Sent 
  from the docbook apps mailing list archive at 
  Nabble.com.

---------------------------------------------------------------------
To 
  unsubscribe, e-mail: 
For 
  additional commands, e-mail: 
  

 

Vote for your city's best dining and nightlife. City's Best 2008.