Tagged: HTML
O’Reilly free ebook on HTML 5
Must be worth a download if you are wondering what HTML 5 is all about – go here.
You have to register but I can assure you it is free – as I have a copy and did not enter any credit card details.
“What is HTML5?” is about 10 pages long – so a read on your next commute?
Related articles
- HTML5 Canvas (O’Reilly) (i-programmer.info)
- What You Need to Know to Before You Build HTML5 Apps (readwriteweb.com)
- W3C Chastises Apple On HTML5 Patenting (apple.slashdot.org)
- 2 New HTML5 Frameworks for Building Mobile Apps (readwriteweb.com)
- Pandora Drops Flash for HTML 5 (macobserver.com)
- XSSQL attack (HTML5) (blogs.securiteam.com)
- Getting started with HTML5 apps (radar.oreilly.com)
- Microsoft Ditching the Term “Native HTML5″ (readwriteweb.com)
How can I do this in XSLT?
I have a very simple (single relation) database, of news stories that I export to xml, so I get something like this:
<?xml?>
<headline>
<top>This is a story </top>
<summary>Some summary of the story</summary>
<full_text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pharetra sagittis risus a ultrices. In a lectus eu nunc scelerisque gravida ac elementum felis. Phasellus. </full_text>
</headline>
And so on….
What I want to do is use an XSL stylesheet to convert this into some HTML where the top line is printed, then the summary and then a link to the full text, which is at the bottom of the document.
Writing the XSL that will extract the top line and the summary is easy, but how can I get a link to what is, in effect, some appended text at the end of the document? Is it even possible?
I have a huge and authoritative tome on XSLT – XSLT: Mastering XML Transformations. For Beginners and Advanced Users – which I will now consult, but anyone know before I delve in?
Related articles
- How to use ASP.NET controls inside XSLTs (rahulgbhatia.wordpress.com)
- XML.com: Converting XML to RDF (xml.com)
- Evan Lenz ” XSLT template rules vs. Lisp macros (evanlenz.net)
- List view web part, show KPI icon images with XSLT (moonistahir.wordpress.com)
- Inserting data from a SPARQL endpoint into a relational database (snee.com)
- UC Berkeley EAD Toolkit (sunsite.berkeley.edu)
- Tool To Transform XML documents (avsnarayan.wordpress.com)
- [E-Lang] Amusement: proof that XML and lisp forms are interchangeable (eros-os.org)
- Tridion Best Practices for Templating (stringwriter.com)
XML: any use?
I stumbled across the site XMLSucks.com just now when reading a comment on slashdot about the idea that there was an FBI mandated “backdoor” in OpenBSD.
Right now I am working on some coursework with XML and so the site has my sympathy. For sure, XML has its uses - SVG seems like a pretty good idea to me and I have used it recently to generate graphics to represent the processes running on a Linux box.
But freely mixing it with HTML on the web? I am inclined to (mostly) agree with the statement on the site:
XML is bloated. XMLis fugly. XML is only “human-readable” if you’re willing to stretch the definition of “human-readable.” The same goes for the proposed bloatware of HTML5. Anyone looking at the spec must be shaking their heads. Sure, it’s better than the now-abandoned xhtml 2.0, but that’s not saying much. I
