Transformation 1: Library list
Success -- almost. The Library List at left is complete, except for a pesky formatting problem. I can't seem to get a plain old space between two selected data values in my address formatting. I resorted to extraneous commas for the moment. The smallest things sometimes eat up the most time.
Highlights of library4a.xsl include:
- Generate different address formats based on the value of country with xsl:choose.
- Suppress printing of unpopulated fields in address using xsl:if, testing for 0 length of target element.
- Loop through multiple occurrences of elements with xsl:for-each.
Transformation 2: Books available in the UK
Coming soon!
This transformation will parse the .xml file looking for items that are available in the
UK based on the address of the library branch that holds it. Should be fun. It will be jumping around the .xml
so it will make greater use of XPath.
Transformation 3: Server-side transformation
I hope this transformation will be able to do things like format a gYear datatype for a BCE date to something human-readable. According to the ISO 8601 standard, gYear -0001 would translate as -2 BCE. this requires Java scripting.

