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: docBook HTML, innerHTML and IE


Hi List.
I am trying to insert a docbook transformed as HTML using the docbook
XSL into a webpage using Ajax ways.
It works well under Firefox, but with IE, I have an error (the infamous
"unknown error", probably because I am trying to insert a complete HTML
page in an already existing page (with <HTML><HEAD>, .... tags).
Thus, I am trying to remove the page structure tags from the generated
HTML.
As an example, I would like to keep, in the sample below, only the <div
class="article">... to its matching </div>.

<?xml version="1.0" encoding="ISO-8859-1"?><html><head><title/><link
rel="stylesheet" href="corpstyle.css" type="text/css"/><meta
name="generator" content="DocBook XSL-NS Stylesheets
V1.75.2"/></head><body bgcolor="white" text="black" link="#0000FF"
vlink="#840084" alink="#0000FF">
	<div class="article">
	<div class="titlepage"><hr/>
	</div>
	</div>
</body>
</html>

Is there a way to configure the stylesheets to get only this part, or
should I make a dirty on the fly replace in the javascript code ?
Thanks in advance
Best regards,
Fabien




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