This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
keeping original html markup in final documents
- From: Jerome Alet <alet at librelogiciel dot com>
- To: docbook at lists dot oasis-open dot org
- Date: Fri, 31 May 2002 14:19:07 +0200
- Subject: DOCBOOK: keeping original html markup in final documents
Hi,
I'm generating docbook xml documents on the fly and an application sends
html markup (an html input form, in fact) to my own application.
I'd want to include this html markup
directly into the generated docbook document before processing
it with docbook2html (Debian Woody), the result would be an
html document containing some text as well as the input form, because
I want the user to be able to both read the text and type values in
the html form in his browser.
I've tried something like :
--- CUT ---
<![ CDATA [
<form action="/cgi-bin/myscript.cgi" method="POST">
Enter max : <input type="text" name="max" />
...
</form>
]]>
--- CUT ---
the <form> ... </form> is the part I want untouched in the final document.
but the result is that the <, > and & are converted to their equivalent
entities in the final document, so my form is unuseable in a web browser.
is there a solution ?
is there a way to keep this HTML code only when generating HTML
final documents and ignore it completely when generating
PostScript (or another format) ?
thanks in advance.
PS : Please forgive my ignorance if the solution is simple
Jerome Alet