TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
But how would I get rid of all the unwanted chunks? I don't think I
could just strip out the xml:id tags since I believe those are used
for other purposes as well.
On Thu, Jan 9, 2014 at 1:13 AM, Chris Despopoulos
<despopoulos_chriss -at- yahoo -dot- com> wrote:
>
> My guess would be that you'll not find anything in the provided XSL that transforms a processing instruction into chunk. So what I would do is first run a transform that uses the processing instruction to wrap the content in a sect. Then (again, I'm only guessing) you could run that result straight through the provided transform and get what you want. You might need to add IDs to your sects that you create, or do some other tweaks. But I think that is the tree I would bark up.
>
> cud
>
>
> On Tue, Jan 7, 2014 at 11:38 AM, Robert Lauriston <robert -at- lauriston -dot- com>wrote:
>
>> Can anyone point me to the part of this file that controls chunking?
>>
>>
>> http://docbook4j.googlecode.com/svn-history/r4/trunk/docbook4j/src/main/resources/xsl/docbook/webhelp/xsl/webhelp-common.xsl
>>
>> I can't relate what I find in this doc to the code I see in that file:
>>
>> http://www.sagehill.net/docbookxsl/Chunking.html
>>
>> I want to modify the XSL so that it chunks at <?confluence type="page"
>> ?> instead of <section xml:id= ...>.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
New! Doc-to-Help 2013 features the industry's first HTML5 editor for authoring.