Re: [docbook-apps] XSLT Highlighter: Cannot read xslthl-config.xml, no custom highlighters will be available.

2010-02-23 Thread Mathieu Malaterre
On Mon, Feb 22, 2010 at 7:26 PM, Daniel Leidert
daniel.leidert.s...@gmx.net wrote:
 Am Montag, den 22.02.2010, 11:04 +0100 schrieb Mathieu Malaterre:

   Just a quick info since it took me quite some time, on linux
 (debian) the solution :

 xsl:param name=highlight.xslthl.config
 select=/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml/

 Please use

 xsl:param name=highlight.xslthl.config select='path'/

 (note the single quotation marks) or

 xsl:param name=highlight.xslthl.configpath/xsl:param

Both:

xsl:param name=highlight.xslthl.config
select='/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml'/
and
xsl:param 
name=highlight.xslthl.config/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml/xsl:param

fails with:

$  java -classpath
/usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar
   com.icl.saxon.StyleSheet  -o myfile.html input.xml myhtml.xsl
Loading Xslthl configuration from
/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml...
XSLT Highlighter: Cannot read xslthl-config.xml, no custom
highlighters will be available.

Without your help I was getting:

$  java -classpath
/usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar
   com.icl.saxon.StyleSheet  -o myfile.html input.xml myhtml.xsl
Loading Xslthl configuration from xslthl-config.xml...
XSLT Highlighter: Cannot read xslthl-config.xml, no custom
highlighters will be available.

[pay attention to the second line of output]

So at least the xml path to xslthl-config.xml seems to be read in
properly now (thanks!), but still there is something funky going on.
I'll try with saxonb...

2cts
-- 
Mathieu

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] XSLT Highlighter: Cannot read xslthl-config.xml, no custom highlighters will be available.

2010-02-23 Thread Mathieu Malaterre
On Tue, Feb 23, 2010 at 10:14 AM, Mathieu Malaterre
mathieu.malate...@gmail.com wrote:
 On Mon, Feb 22, 2010 at 7:26 PM, Daniel Leidert
 daniel.leidert.s...@gmx.net wrote:
 Am Montag, den 22.02.2010, 11:04 +0100 schrieb Mathieu Malaterre:

   Just a quick info since it took me quite some time, on linux
 (debian) the solution :

 xsl:param name=highlight.xslthl.config
 select=/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml/

 Please use

 xsl:param name=highlight.xslthl.config select='path'/

 (note the single quotation marks) or

 xsl:param name=highlight.xslthl.configpath/xsl:param

 Both:

 xsl:param name=highlight.xslthl.config
 select='/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml'/
 and
 xsl:param 
 name=highlight.xslthl.config/home/mathieu/Software/xslthl/highlighters/xslthl-config.xml/xsl:param

 fails with:

 $  java -classpath
 /usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar
   com.icl.saxon.StyleSheet  -o myfile.html input.xml myhtml.xsl
 Loading Xslthl configuration from
 /home/mathieu/Software/xslthl/highlighters/xslthl-config.xml...
 XSLT Highlighter: Cannot read xslthl-config.xml, no custom
 highlighters will be available.

 Without your help I was getting:

 $  java -classpath
 /usr/share/java/saxon.jar:/home/mathieu/Software/xslthl/xslthl-2.0.1.jar
   com.icl.saxon.StyleSheet  -o myfile.html input.xml myhtml.xsl
 Loading Xslthl configuration from xslthl-config.xml...
 XSLT Highlighter: Cannot read xslthl-config.xml, no custom
 highlighters will be available.

 [pay attention to the second line of output]

 So at least the xml path to xslthl-config.xml seems to be read in
 properly now (thanks!), but still there is something funky going on.
 I'll try with saxonb...

Silly me. The proper solution was simply:

xsl:param 
name=highlight.xslthl.configfile:home/mathieu/Software/xslthl/highlighters/xslthl-config.xml/xsl:param

Sorry for the noise.

-- 
Mathieu

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] RE: [docbook] Question about xml

2010-02-23 Thread Compagnon Christopher
Hi,

Thanks for your answer.
But my question was bad.
The question don't use docbook here. Only xml.

I have a xml file interpreted (dynamically) by my browser (FFX)
If I use FireBug to analyse the code, I have HTML (It is a beautiful HTML GUI). 
That's right !

But my file is always in xml (blabla.xml).

If I have 2 HTML files, no problem with anchors.
But I would like to call a xml interpreted file from another (or the same) 
interpreted XML through the GUI.

For my browser, the link is blabla.html#myref.
Unfortunately, blabla.html does not exist.



Cordialement,


Christopher COMPAGNON
AXA GROUP SOLUTIONS - Procurement, BI Supply
Département Solutions Business Intelligence
Domaine BI France - Reporting Opérationnel
(  01 44 45 04 16 (55 04 16) 
E-mail: christopher.compagnon.a...@axa-groupsolutions.com

Pensez à l'environnement avant d'imprimer ce message
 

-Message d'origine-
De : Shlomi Fish [mailto:shlo...@iglu.org.il] 
Envoyé : lundi 22 février 2010 11:37
À : docb...@lists.oasis-open.org
Cc : Compagnon Christopher; docbook-apps
Objet : Re: [docbook] Question about xml

On Monday 22 Feb 2010 11:20:35 Compagnon Christopher wrote:
 Hi,
 
 
 
 I have a question about xml.

Which DocBook/XML? DocBook 4 or DocBook 5?

 
 In HTML, a reference by anchor is « myfile.html#myref » and points on an
 anchor :
 
 a name=myref .../a
 

That's antiquated HTML. Better use the id=... attribute there now. (And make 
sure you quote your attribute values).

 
 
 How to obtain the same comportement with xml, pointing a link to another
 part of a xml document ?

In DocBook 5, you should use link xlink:href=#anchor and xml:id=anchor 
for that. 

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] RE: [docbook] Question about xml

2010-02-23 Thread Markus Hoenicka
Compagnon Christopher  
christopher.compagnon.a...@axa-groupsolutions.com was heard to say:



But my file is always in xml (blabla.xml).

If I have 2 HTML files, no problem with anchors.
But I would like to call a xml interpreted file from another (or the  
same) interpreted XML through the GUI.


For my browser, the link is blabla.html#myref.
Unfortunately, blabla.html does not exist.


Hi,

I wonder if a custom CSS stylesheet might be tweaked into doing what  
you need. You can add such stylesheets to your XML documents like this:


?xml version=1.0?
?xml-stylesheet href=http://localhost/docbook-css-0.4/driver.css;  
type=text/css?


This example loads a stylesheet for Docbook documents, to view them  
directly in a browser. I doubt that these stylesheets (from  
http://www.badgers-in-foil.co.uk/projects/docbook-css/) support  
rewriting links out of the box, but it might be worth a try to add  
this support.


regards,
Markus

--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Docbook in the publishing world

2010-02-23 Thread Dave Pawson

http://bit.ly/98fpLK

Jon Udell blog, talking about www.flatworldknowledge.com



regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



[docbook-apps] Migration from text processing to DocBook

2010-02-23 Thread Camille Bégnis
Hello all,

I've written a short article about how to take best advantage of
OpenOffice.org DocBook export to transform Word or OOo documents to DocBook.
I would appreciate your feedback and experience so this can be further
enhanced and later included in the DocBook wiki.

http://blog.neodoc.net/2010/02/migrate-text-processing-document-do.html

Thanks,

Camille.
attachment: camille.vcf-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

[docbook-apps] multiple repeats of table rows in HTML output

2010-02-23 Thread Nathalie Sequeira

Hello List,

I am struggling with a problem that cropped up in the HTML output of 
docBook articles after a website redesign for increased accessibility. 
Being new to docBook, I am finding it difficult to find out what is 
going wrong quickly, and am very thankful for any help!


The setup is as follows:
the website is implemented on a university server using Apache, Axkit, 
libxml, libxslt, and its informational pages are managed via the 
xml-based CMS XIMS, which also has a vlibrary module that manages the 
library's docBooks.


A customization layer had already been implemented for the docBooks, 
mainly to include the website's general layout and to tweak the 
titlepage metadata output.
In the course of the redesign, the major change I made was to include 
improved output instructions (XHTL 1.0 transitional), as the HTML was 
full of namespace attributes where they did not belong, and to compact 
instructions for the site's layout (previously repeated in every 
stylesheet, now largely included from a set of common xsl's). None of 
the customizations seem to have to do with tables at all, so docBook 
should simply be doing its thing here, I would think.


Now, to the problem:
tables are suddenly being displayed erroneously: with both docBook XSL 
1.65.1 and 1.75.2 table rows are getting repeated in a way that looks 
like a loop - with the difference that in 1.75.2, instead of displaying 
this, a html comment is added in each row saying This row intentionally 
left blank.


Using the 1.65.1 stylesheets, what happens remains visible, thus:
HTML Output via docBook XSL 1.65.1

table frame=all/tabletable summary=Abbildung 1: ICD 10 Diagnosen 
zur Intelligenzminderung.(Quelle: eigene Darstellung) border=1

colgroup
col
col
col
col
/colgroup
tbody
outputs total of 6 rows
repeat of rows 2-6
repeat of rows 3-6
repeat of rows 4-6
repeat of row 5-6
repeat of row 6
(total rows = 21)
/tbody
/table

The extra empty table is also created with version 1.75.2.


The docBook  XML for this example looks like this:

table frame=all
titleAbbildung 1: ICD 10 Diagnosen zur Intelligenzminderung.(Quelle: 
eigene Darstellung)/title

 tgroup cols=4
   colspec colname=c1/
   colspec colname=c2/
   colspec colname=c3/
   colspec colname=c4/
   tbody
 row
 entryemphasis role=boldF70/emphasis/entry
 entryLeichte Intelligenzminderung (leichte geistige 
Behinderung, Debilit#xE4;t)/entry

 entryIQ 50 - 69/entry
 entryIA 9 -12J./entry
 /row
 
   /tbody
 /tgroup
/table

This happens consistently with every table I have found so far in the 
library.


The altered general instructions look like this:

?xml version=1.0 encoding=UTF-8?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
version=1.0

   xmlns=http://www.w3.org/1999/xhtml;
  
!-- imports + includes --

xsl:import href=/docbook-xsl/html/docbook.xsl/
!-- common layout elements --
xsl:import href=xsl_includes/common.xsl/ 
!-- include titlepage stylesheet generated from templates --

xsl:include href=xsl_includes/dbk_default_titlepage.xsl/

xsl:output method=xml
   encoding=UTF-8
   media-type=text/html
   
doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;

   doctype-public=-//W3C//DTD XHTML 1.0 Transitional//EN
   indent=yes
   omit-xml-declaration=yes/
---

Does anyone have a clue what could be causing this?

Thank you very much,
Nathalie Sequeira


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] Migration from text processing to DocBook

2010-02-23 Thread Dave Pawson

On 23/02/10 20:20, Camille Bégnis wrote:

Hello all,

I've written a short article about how to take best advantage of
OpenOffice.org DocBook export to transform Word or OOo documents to DocBook.
I would appreciate your feedback and experience so this can be further
enhanced and later included in the DocBook wiki.

http://blog.neodoc.net/2010/02/migrate-text-processing-document-do.html

Thanks,

Camille.



All the usual problems Camille.
Thinks.
   How to use a macro facility (in Word or ODF) to check the styles?
Even better, provide one for the authors such that they only use 'your'
styles rather than the random set most users use.






regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org