









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










XML Gregory Brill Java and XML Brett McLaughlin - XPath expressions look a lot like paths in a computer file system - / means the document itself (but no specific elements) - /library selects the root element - /library/book selects _every_ book element - //author selects _every_ author element, wherever it occurs XML Gregory Brill Java and XML Brett McLaughlin This tells you where to find the XSL file
...
Book titles:
Book authors: ...same thing, replacing title with author
Notice that XSL can rearrange the data; the HTML result can present information in a different order than the XML
Notice the xsl:for-each loop
Book Titles and Authors
Book titles:
Book authors: