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] | [Elist Home]


Subject: DOCBOOK-APPS: Re: xmlns attribute in xhtml output...


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

/ ed nixon <ed.nixon@lynnparkplace.org> was heard to say:
| Looking at this problem some more this evening. It seems that I will
| get the xmlns attribute in every (x)html element if I leave the output
| method set to "xml"; when I change the output method the "html" the
| xmlns attribute in tags disappears but I'm left with an HTML 4.01
| Transitional DOCTYPE rather than what I want, which is xhtml 1.x
| transitional. XSLTPROC overrides both the doctype-public and
| doctype-system attributes if I set method="html".

Where are you setting this? If you've got a customization layer, make
sure you're pointing at the base xhtml stylesheets if you want xhtml.

| Cross checking with Saxon 6.5 Win32 compiled, I get more or less what
| I want as far as DOCTYPE and xmlns behaviour but it's doing very
| strange things to the <span> elements that surround <em> elements in
| the source.

What strange things?

| How do I turn off all the xmlns stuff and retain the xhtml
| transitional DOCTYPE?

You should get the right thing if you use the xhtml stylesheets. It's
a processor serializer bug if you don't.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | Before doing someone a favour,
http://www.oasis-open.org/docbook/ | make sure that he isn't a
Chair, DocBook Technical Committee | madman.--Eugéne Labiche
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE9k22gOyltUcwYWjsRAvf8AJ44TvEjrejGTk4tOWkFttowBStPLQCfZwC2
jUc3cEyNh3Wmoe2OHtyuxwc=
=Vh9E
-----END PGP SIGNATURE-----


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


Powered by eList eXpress LLC