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>

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>
		<xsl:for-each select=".//html:acronym|.//html:abbr">
			<xsl:sort select="."/>
			<li><xsl:copy-of select="."/></li>
<!-- End code -->

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


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

(940) 369-7661

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:51 UTC