Re: [xslt] xhtml output
- From: Daniel Stodden <stodden cs tum edu>
- To: xslt gnome org
- Subject: Re: [xslt] xhtml output
- Date: 28 Nov 2002 01:22:16 +0100
On Thu, 2002-11-28 at 00:38, Le grande pinguin wrote:
> On Wed, Nov 27, 2002 at 10:14:44PM +0100, Daniel Stodden wrote:
> > hi.
> >
> > is anyone constructively working on an xhtml output provider for
> > libxml2?
> >
> > i mean xhtml 1.0-compat according to appendix c of the specification.
>
> Which specification?
usb 2.0.
scnr :o)
what i mean is xhtml-1.0 app. C: http://www.w3.org/TR/xhtml1/#guidelines
the current xslt-2.0 draft introduces a special output method for this
task: <xsl:output method="xhtml"/>. again, see w3.org on this matter.
basically, xhtml describes two different serializations schemes:
1. plain xml, which is delivered to browsers as
application/xhtml+xml. thats what you get with method="xml".
2. backwards-compatible xml. the thing you write if you want xml
but a chance to have e.g. the old netscape 4.x series parser not
choke on input. e.g. writing <br /> instead of <br/>. valid xml
for sgml-oriented parsers. this can be delivered as text/html.
mozilla's support for xhtml+xml is not yet complete enough for my
purposes. pushing just xml as html confuses even mozilla, and always
will.
html? boring. :)
so the standard way would be the above compat mode.
libxslt in cvs currently seems to have some hooks in place, but
nonfunctional yet. so i thought somebody might already be working on it.
greetings,
daniel
___________________________________________________________________________
mailto:stodden@in.tum.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]