The Data Wrangler's Handbook by Kyle Banerjee

The Data Wrangler's Handbook by Kyle Banerjee

Author:Kyle Banerjee [Banerjee, Kyle]
Language: eng
Format: epub
Tags: LAN025000 Language Arts & Disciplines / Library & Information Science / General
Publisher: American Library Association


<?xml version="1.0"?>

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<books>

<xsl:for-each select="books/book">

<title><xsl:value-of select="title"/></title>

</xsl:for-each>

</books>

</xsl:template>

</xsl:stylesheet>

Figure 6.5: XSLT stylesheet example

If the stylesheet in figure 6.5 is applied to the XML in figure 6.3, the result is:

<?xml version="1.0"?>

<books>

<title>Migrating Library Data</title>

<title>Building Digital Libraries</title>

<title>Digital Libraries: Integrating Content and Systems</title>

</books>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.