Semantic Data Extractor

Hello!

I think it would be useful to extend the semantic data extractor to list acronyms and abbreviations used in the page; this could be accomplished like this:

<!-- Begin code -->
<xsl:if test="(.//html:acronym or .//html:abbr)  and $detailed_results ne '0'">
	<h3>Abbreviations and Acronyms</h3>
	<p>The following abbreviations and/or acronyms are used in the given HTML page:</p>
	<ul>
		<xsl:for-each select=".//html:acronym|.//html:abbr">
			<xsl:sort select="."/>
			<li><xsl:copy-of select="."/></li>
		</xsl:for-each>
	</ul>
</xsl:if>
<!-- End code -->

Logically it seems like this would fit right alongside the <dfn> and <dt> extractor in the current stylesheet.

Thanks!
Adam


-------------------------------------------------------
Adam Jensen
Web Development
International Studies and Programs
University of North Texas

adamj@isp.admin.unt.edu
(940) 369-7661

Received on Monday, 12 March 2007 19:18:46 UTC