[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] docBook HTML, innerHTML and IE
Check out this thread: http://lists.oasis-open.org/archives/docbook-apps/200706/msg00070.html Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Fabien Tillier" <f.tillier@cerep.fr> To: <docbook-apps@lists.oasis-open.org> Sent: Friday, June 18, 2010 2:48 AM Subject: [docbook-apps] 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 --------------------------------------------------------------------- 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]