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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Multiple processing document with exsl:node-setand xsltproc


Hi Vitaly,

this sounds like you're experiencing the same problems like I did with profiling. In short, ids get lost when doing profiling with xsltproc. It seems that the specification on how to do this properly is at fault, not xsltproc, though. Currently, you can only do 2-step-profiling with xsltproc.

Check this thread for more details: http://sources.redhat.com/ml/docbook/2003-07/msg00177.html


Patrick



Vitaly Ostanin schrieb:
Hello, All!

Now I use two pass processing for DocBook documents:
1. My tuning.xsl
2. Original DocBook XSL stylesheets.

I need to process documents in single pass processing for
publishing with Website.

I turn templates from tuning.xsl to mode="alt-tuning", import it
to my customization layer and use:

<xsl:template match="/">
  <xsl:variable name="tuned-content">
    <xsl:apply-templates select="/" mode="alt-tuning"/>
  </xsl:variable>
  <xsl:apply-templates select="exsl:node-set($tuned-content)/*"/>
</xsl:template>

Customization layer uses html/chunk.xsl from original DocBook
stylesheets.

It works strange:
Error: no ID for constraint linkend: alt.devel.docs-howto.info.
and html isn't chunked but only one file.

I use
$ xmllint --version
xmllint: using libxml version 20508
compiled with: FTP HTTP HTML C14N Catalog DocBook XPath
XPointer XInclude Iconv Unicode Regexps Automata Schemas


$ xsltproc --version
Using libxml 20508, libxslt 10031 and libexslt 721
xsltproc was compiled against libxml 20506, libxslt 10031 and
libexslt 721 libxslt 10031 was compiled against libxml 20506
libexslt 721 was compiled against libxml 20506

Please, tell me, where is the problem ?



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


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