This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: little docbook xsl problem


> From: Stefan Seefeld <seefeld@sympatico.ca>
> 
> I'v found what I think is a little bug in the xsl stylesheets.
> The 'title' elements of 'sectX' entities seem to be concatenated
> in the generated html output, i.e.
> 
> <book>
> <chapter><title>Chapter</title>
> <sect1><title>Sect1</title>
> <sect2><title>Sect2</title>
> </sect2>
> </sect1>
> </chapter>
> </book>
> 
> results in the Title for the sect2 element to be written as
> 'Sect1Sect2'. This error is recursive, i.e. it gets worse when
> I insert sect3 etc. nodes into the document.
> 
> Regards,	Stefan
> 
> PS: in case the problem is not related to the stylesheets, I'm
>     using 4xslt to process the xml input.

I don't think this is a stylesheet problem. I can use
Xalan and Saxon to process your sample, and they do
not concatenate the titles.  I've not used 4xslt, but
I would suspect a bug there.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The Santa Cruz Operation, Inc.              fax:   (831) 429-1887
                                            email: bobs@sco.com

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]