Hi Jonathan > It seems to me that Tiddlywiki > would not lose anything by transitioning from html (with internal xml) > to a completely xhtml base, in which you would *not* (To my simplistic > point of view) need to work around the minor differences between the > 'almost' XML of html and the 'actual' XML of XHTML.
I'm not sure what you're saying here. TiddlyWiki cooks as <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> and is well-formed XML, passing through xmllint, etc. I don't think we /lose/ anything from being strict XML rather than HTML, but the question is what do we gain? Parsing XML in JavaScript cross-browser, especially with namespaces, is actually harder than parsing HTML and JSON. And then there is the duality of browsers which present XHTML as a HTML DOM and some other browsers which treat strict XHTML served with the correct media-type as XML, displaying angle brackets instead of text. Generating and parsing TiddlyWikis in XSLT is trivial and if for some reason it's HTML rather than XHTML, then you can use tidy or TagSoup in the pipeline, HTML-parser in Perl, HTML5 parser in Python, etc. These all work just fine until they encounter wikitext and macros. So a better tactic for processing TiddlyWiki content is usually to use TiddlyWiki itself to save the tiddlers in an alternative format, such as RSS and process that. If you use TiddlyWeb, then there is a framework for mapping tiddlers to and from a variety of other formats. Strategically XML is alive, but XHTML for Web pages is a bit of a dead end, especially in the face of HTML 5. Make sense, or have I completely missed the point? -- Paul (psd) http://blog.whatfettle.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en -~----------~----~----~----~------~----~------~--~---
