XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XHTML 2 Working Group won't be renewed?

Felix Saski wrote:

> 2009/7/8 <rjelliffe@allette.com.au>

>> XHTML will always be necessary, because XSLTs that generate HTML need an
>> HTML formulated as XML.
>
> Not necessarily, see the FAQ from Henry
> http://hsivonen.iki.fi/xhtml2-html5-q-and-a/
> esp. :
> But XSLT and XPath don’t work with HTML! Incorrect. ...

Wrong way round. You are talking about the input file, I am talking about
the XSLT template. I said "generate html" not "accept html".

As mentioned above,
> HTML5 parsers expose an infoset equivalent to an XML parser parsing
> XHTML5.
> The Validator.nu HTML Parser <http://about.validator.nu/htmlparser/> comes
> with a sample application for using the JDK XSLT engine with HTML5
> inputs.Of
> course this still does not solve the namespace problem, but this
> processing
> chain
> 1) HTML5 input
> 2) DOM as input to XSLT processing
> 3) HTML or XHTML output
> is feasible if there is "only" HTML.

These use XML (XSLT) templates.

Actually, I don't think I have ever come across a real case of someone
using XSLT with an XHTML input. I suppose it is possible, but generating
HTML is much more common.

Cheers
Rick Jelliffe


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS