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: How to insert material immediately after <html> and before</html> tags in xhtml output


I am writing a user manual in DocBook 5, and generating XHTML output with the xhtml style sheets from the docbook-xsl-ns-1.75.2 distribution

I need to be able to do this when processing XHTML output using the xhtml style sheets:

<html xmlns="http://www.w3.org/1999/xhtml";><!-- InstanceBegin template="/Templates/rulesWideAndNav.dwt" codeOutsideHTMLIsLocked="false" -->

[...body of the transformed document...]

<!-- InstanceEnd --></html>

I have looked at the following:

1) The instructions at http://www.sagehill.net/docbookxsl/InsertExtHtml.html, "Inserting external HTML code", under "In the HEAD element." This results in the <title> element not appearing in the output and, of course, only affects material within the head element itself.

2) The instructions at http://www.sagehill.net/docbookxsl/HtmlHead.html, using the system.head.content template and the user.head.content templates. But these only affect material within the head element itself.

Can I use the style sheets to insert an element *right after* the <html> tag and *right before* the </html> tag?

Thanks for your help.



Mike Broschinsky
Administrative Code Editor
Utah State Division of Administrative Rules
Because of the governor's "Working 4 Utah" initiative, office hours for the Division of Administrative Rules are 7 a.m. to 6 p.m., Monday through Thursday. The Division is closed on Friday.

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