[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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 dont 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|