<?xml version="1.0" encoding="UTF-8"?>
<essay xml:lang="en" version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:gal="http://norman.walsh.name/rdf/gallery#" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<info>
    
    
    
    
    
    
    
    
<title>XSLT 2.0 RELAX NG Grammar</title><biblioid class="uri">http://norman.walsh.name/2006/07/12/xslt20</biblioid>
<volumenum>9</volumenum>
<issuenum>66</issuenum>
<pubdate>2006-07-12T07:56:16-04:00</pubdate>
<date>$Date: 2006-07-12 08:14:16 -0400 (Wed, 12 Jul 2006) $</date>
<author>
      <personname>
<firstname>Norman</firstname>
	<surname>Walsh</surname>
</personname>
    </author>
<copyright>
      <year>2006</year>
      <holder>Norman Walsh</holder>
    </copyright>
<abstract>
<para>Yet more bug fixes for my XSLT 2.0 RELAX NG Grammar. This version
validates stylesheets conforming to the 8 June 2006 draft of XSLT 2.0.</para>
</abstract>
<dcterms:replaces>http://norman.walsh.name/2005/04/19/xslt20</dcterms:replaces>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#RELAXNG"/>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#XSLT2"/>
</info>

<para xml:id="p1">In the year or so since I last published this schema,
I've made a few fixes (and most recently <foaf:name>David Carlisle</foaf:name>
offered a few more). Specifically:</para>

<itemizedlist>
<listitem>
<para xml:id="p2">The <tag class="attribute">mode</tag> attribute on
<tag>xsl:apply-templates</tag> may have the value “<literal>#current</literal>”
but not “<literal>#all</literal>”. Also, the
<tag class="attribute">mode</tag> attribute on
<tag>xsl:template</tag> may be either “<literal>#all</literal>” or a list
of QNames (that may include “<literal>#default</literal>”).
</para>
</listitem>
<listitem>
<para xml:id="p3">The attribute “<tag class="attribute">normalize-unicode</tag>”
is now spelled “<tag class="attribute">normalization-form</tag>”. And
the values “NKFC” and “NKFD” are now spelled correctly: “NFKC” and “NFKD”.
</para>
</listitem>
<listitem>
<para xml:id="p4">The <tag class="attribute">name</tag> attribute on
<tag>xsl:namespace</tag> is now properly described as an AVT.</para>
</listitem>
</itemizedlist>

<para xml:id="p6">The new
<link xlink:href="examples/xslt20.rnc">xslt20.rnc</link> is available.
It still works
with the (unmodified) 
<link xlink:href="examples/xslt10.rnc">xslt10.rnc</link> and
<link xlink:href="examples/xslt.rnc">xslt.rnc</link> grammars.</para>

<para xml:id="p7">Please continue to report any bugs that you find.
Share and enjoy!</para>
</essay>

