On Fri, 2006-11-03 at 06:54, Mike Noyes wrote:
> On Thu, 2006-11-02 at 12:04, Mike Noyes wrote:
> > On Thu, 2006-11-02 at 11:34, KP Kirchdoerfer wrote:
> > > Am Donnerstag, 2. November 2006 15:24 schrieb Mike Noyes:
> > > > The main issue is an inability to use.id.as.filename. Generic chunking
> > > > (file names like bk01ch01.html) wouldn't happen with ID attributes.
> > > >
> > > > ID recommended on section: ?????????
> > >
> > > Sorry Mike; I don't get it what you want to explain to me.
> >
> > KP,
> > See the "Chunk filenames" section on the page linked below.
> >
> > http://www.sagehill.net/docbookxsl/Chunking.html
> >
> > "The chunk element's id attribute value (but only if the
> > use.id.as.filename parameter is set)."
> >
> > Someone needs to add a unique ID attribute for each chunked section to
> > our docbook xml content in CVS. This will take quite a bit of time. It
> > is necessary for proper file name generation when processing XML with
> > XSL.
> >
> > Note: duplicate ID attributes will cause validation failure.
>
> Everyone,
> Here is a typical subset of output from a cron run of doc-build.sh. Note
> all the ID recommended lines.
>
> ID recommended on section: What is the LEAF "Bering" distribution ?
<snip>
KP,
Setting the chunk.section.depth param to 0 will cause chunk creation
only for chapters/appendixes. This should address most of our missing ID
attribute issues.
I modified /home/groups/l/le/leaf/admin/doc-build.sh, and added:
--stringparam chunk.section.depth 0 \
--stringparam use.id.as.filename 1 \
Note: not committed to cvs as it's a quick hack.
That's all I have time for right now. Let me know if it improves things.
Thanks.
--
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel