← Prev in month ← Prev in thread
Next in thread → Next in month →

How to insert material immediately after <html> and before</html> tags in xhtml output

From
Mike Broschinsky <>
Date
2010-12-02T22:45:28+00:00
ID
Thread
How to insert material immediately after <html> and before</html> tags in xhtml output
Greetings,

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.

Best,

Mike


----------------------------
Mike Broschinsky
Administrative Code Editor
Utah State Division of Administrative Rules
801-538-3003

 
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.
← Prev in month ← Prev in thread
Next in thread → Next in month →