W3C home > Mailing lists > Public > public-qa-dev@w3.org > March 2007

Semantic Data Extractor

From: Adam Jensen <Adamj@isp.admin.unt.edu>
Date: Mon, 12 Mar 2007 11:19:00 -0500
Message-Id: <45F53723.6184.00D1.0@isp.admin.unt.edu>
To: <public-qa-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:48 GMT