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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] XML + Javascript? was:[Whatever happened too CSS+XML]

On Tuesday 17 January 2006 08:25, Bob Stayton wrote:
> You can use the user.head.content template to insert script elements.  See:
> http://www.sagehill.net/docbookxsl/InsertExtHtml.html


> Getting the browser to execute the code is another thing.  The reference
> above describes how to use a processing instruction to insert something in
> the output. You can also insert an onLoad attribute in the body element to
> do something on loading.  See:
> http://www.sagehill.net/docbookxsl/BodyAtts.html
> Depending on what you want the Javascript code to do, you may have to do
> other customizations.

Thanks Bob,
I guess what I was really wondering though was whether there was a 
method to serve raw DocBook XML documents and format them client-side 
in the web-browser using only javascript and CSS, bypassing (X)HTML and the 
XSLT processing stages altogether?
The impression I get is that some kind of HTML wrapper, or insert, with a 
<script> element is essential, but that would then make the DocBook invalid.

Thanks again

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