This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gentext customization: remove "Abstract" and"Table of Contents" in HTML


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ ed nixon <ed dot nixon at lynnparkplace dot org> was heard to say:
| Before:
|   <div class="abstract">
|     <p class="title"><b>Abstract</b></p>
|     <p>Some document projects successfully completed ...</p>
|     <p>Now, the challenge is to integrate...</p>
|   </div>
|
| After:
| <div xmlns="" xmlns:fo="http://www.w3.org/1999/XSL/Format"; class="abstract">
| <p xmlns="http://www.w3.org/1999/xhtml";>Some document projects
| successfully completed...</p>
| <p xmlns="http://www.w3.org/1999/xhtml";>Now, the challenge is to
| integrate...</p>
| </div>

You have to be very careful about how you structure the templates if
you want to avoid extra namespace declarations. XSLT is very literal
about those things.

Chances are, you've used a literal result element where the default
namespace wasn't the XHTML namespace.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw at nwalsh dot com>      | Individuality seems to be Nature's
http://www.oasis-open.org/docbook/ | whole aim--and she cares nothing
Chair, DocBook Technical Committee | for individuals.--Goethe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+c4L6OyltUcwYWjsRAmLUAJ9HbLpNAZwAjuQaCRFuqPCGgXDGBACgjA3G
ajtk81v1FeQqmpjVyQW8AEQ=
=1644
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]