| From | Sent On | Attachments |
|---|---|---|
| gpev...@aol.com | Jul 21, 2010 10:40 am | |
| Jirka Kosek | Jul 21, 2010 1:37 pm | |
| Jirka Kosek | Jul 22, 2010 6:26 am | |
| Jirka Kosek | Jul 22, 2010 6:54 am | |
| gpev...@aol.com | Jul 22, 2010 8:37 am | |
| Mauritz Jeanson | Jul 22, 2010 9:04 am | |
| gpev...@aol.com | Jul 22, 2010 10:02 am | |
| Jeff Hooker | Sep 1, 2010 10:22 am | |
| Jirka Kosek | Sep 1, 2010 3:00 pm |
| Subject: | Re: [docbook-apps] chunking or splitting for non-html files | |
|---|---|---|
| From: | gpev...@aol.com (gpev...@aol.com) | |
| Date: | Jul 22, 2010 10:02:02 am | |
| List: | org.oasis-open.lists.docbook-apps | |
Mauritz:
Yes that works great, and yes i do prefer level="any" option! I like the way that works better! Thank you very much! /G.
-----Original Message----- From: Mauritz Jeanson <mj...@johanneberg.com> To: gpev...@aol.com; jir...@kosek.cz; docb...@lists.oasis-open.org Sent: Thu, Jul 22, 2010 12:05 pm Subject: RE: [docbook-apps] chunking or splitting for non-html files
| -----Original Message----- From: gpev...@aol.com
However I am running into an issue when I use this following stylesheet to sections and have a nested section it errors saying it cannot write out to same URI.
Here is the Style Sheet
<xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> <xsl:template match="section"> <xsl:variable name="filename"> <xsl:number count="section"/> </xsl:variable> <xi:include href="{$filename}.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <xsl:result-document href="Sect-{$filename}.xml"> <xsl:next-match/> </xsl:result-document> </xsl:template>
ry changing <xsl:number count="section"> to <xsl:number count="section" level="multiple"/> Or perhaps you'll prefer <xsl:number count="section" level="any"/> Mauritz





