OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] including xhtml questions


Hi Bob,
yes, that's what I was asking, but seeing it written out so plainly
(and not fuzzily in my brain), it's looks like a silly question.  I do
*wish* I could hand over a single file when I need to share, but I
guess it will have to be a zip and not a DB XML.

thanks,
--Tim

On Fri, Feb 3, 2012 at 11:53 AM, Bob Stayton <bobs@sagehill.net> wrote:
> Hi Tim,
> Can you clarify this question:
>
>
>> Is there any method I can use to create a valid DocBook XML file that
>> doesn't require me to ship the external xhtml files?
>
>
> Does this mean you want to insert into your document the edited xhtml code?
> And then have that xhtml code output as working xhtml?
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
>
>
> ----- Original Message ----- From: "Tim Arnold" <jtim.arnold@gmail.com>
> To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
> Sent: Thursday, February 02, 2012 7:18 AM
> Subject: [docbook-apps] including xhtml questions
>
>
>> Hi,
>> I create DocBook 5 XML and use the html stylesheets to produce html.
>> I  also use the dbhtml file= processing instruction to insert some
>> xhtml files that have been externally generated. Unfortunately I have
>> no control over the external process and the xhtml contains &nbsp;
>> entities and duplicate IDs.
>> I have been postprocessing the files to remove these before running
>> the DocBook html stylesheets (using a Python script).
>>
>> I'd rather not do that because
>> (a) it adds another external step to the build process and
>> (b) I have to include these modified xhtml files if I need to deliver
>> the DocBook content to others.
>>
>> My questions:
>> Is there any method I can use to create a valid DocBook XML file that
>> doesn't require me to ship the external xhtml files?
>> If not, then would it be better (maintenance, simplicity) to create a
>> custom processing instruction to include these files instead of using
>> Python?
>>
>> thanks,
>> --Tim Arnold
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>
>>
>>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]