docbook-apps

  • 1.  [docbook-apps] chunk of profiled XML files

    Posted 12-22-2011 12:55
    Hello,

    I was thinking it's a very basic problem, but I'm not able to find an
    answer...

    I have a modular project, i.e. I have thousands of XML files, and I use
    xi:include to organize these files into books. I also use profiling.
    Despite the scale everything runs smoothly using single-pass processing.

    Now, I need output a profiled version of my original XML files.
    profiling/profile.xsl does a very good job, but it merges all XML source
    files into a single XML file. Is it possible output a chunk of profiled XML
    files?

    Thanks,
    Robert



  • 2.  Re: [docbook-apps] chunk of profiled XML files

    Posted 12-22-2011 14:56
    On 22.12.2011 13:54, robert wrote:

    > Now, I need output a profiled version of my original XML files.
    > profiling/profile.xsl does a very good job, but it merges all XML source
    > files into a single XML file. Is it possible output a chunk of profiled XML
    > files?

    You can apply profile.xsl on individual files to get desired result. If
    there are many such files you can use shell script/batch
    file/makefile/ant/xproc to pipe all files through transformation.

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------