[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] including xhtml questions
http://www.oxygenxml.com/forum/topic4991.htmlThen you would just need to add an XSL template to your stylesheet to copy any elements in the XHTML namespace to the output. But if you are handing off your DocBook files to others, the recipients would need your NVDL set up to edit the documents.
I think your second idea could also work. Currently the XSL template that handles the dbhtml-include processing instruction just copies the content through. But if the input is well-formed XHTML, then you could create stylesheet templates to process it before outputing the result.
Bob Stayton Sagehill Enterprises bobs@sagehill.net----- Original Message ----- From: "Tim Arnold" <jtim.arnold@gmail.com>
To: "Bob Stayton" <bobs@sagehill.net> Cc: "DocBook Apps" <docbook-apps@lists.oasis-open.org> Sent: Friday, February 03, 2012 9:05 AM 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 questionsHi, 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 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
--------------------------------------------------------------------- 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]