# Introductions to several of the Apache Foundation’s hottest projects, including Xerces, Axis, and Xindice
# Building XML–driven websites using the popular Cocoon project
# Transforming XML–based documents into a variety of formats, including PDF, SVG, and PS, using the Formatting Objects Processor (FOP) project
Need help converting HTML documents to PDF? This reference guide shows by example how to use XSLT templates to convert 45 commonly used HTML elements to formatting objects (from the XSL-FO vocabulary) for easy transformation to PDF using XSLT.
This matches Elems with one child. :)
If you want to match any number of children, replace the last "_" with "_*" . All part of the magic of unapplySeq. :)
<foo id="bar"/> match { // prints "bar"
case n @ <foo/> if (n \ "@id" text) == "bar" => println("bar")
case n @ <foo/> if (n \ "@id" text) == "baz" => println("baz")
}