<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<?xml-stylesheet type='text/xsl' href='/style/atom-comments.xsl'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
<title>norman.walsh.name: Comments on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20'/>
<id>http://norman.walsh.name/2004/07/25/xslt20/comments.atom</id>
<updated>2004-12-23T18:04:22Z</updated>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 0001 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0001'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0001</id>
<published>2004-07-27T05:53:42Z</published>
<updated>2004-07-27T05:53:42Z</updated>
<author>
  <name>Evan Lenz</name>
  <foaf:mbox_sha1sum>d4b8b3e2583bb7ad05076e4912d9c833bd858028</foaf:mbox_sha1sum>
  <uri>http://evan.pcseattle.org</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi Norm,</p>
<p>I like the externalRef feature too. I actually would have liked to see an analogous feature in XSLT 2.0 (xsl:call-transform or some such). It would let you use existing stylesheets wholesale, without worry about conflicting modes (especially the default one), variable names, etc. Alas, that wasn't the only fight I lost ;-)</p>
<p>Evan</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 0002 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0002'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0002</id>
<published>2004-07-27T15:20:43Z</published>
<updated>2004-07-27T15:20:43Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Yes, that would have been nice. I bet there are a lot of nice things we could have done if we hadn't gotten tangled in the W3C XML Schema type system. And we could have finished in 2002, too! :-)</p></div></content>
</entry>

<entry>
<title>Comment 0003 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0003'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0003</id>
<published>2004-07-31T08:45:01Z</published>
<updated>2004-07-31T08:45:01Z</updated>
<author>
  <name>Tobi </name>
  <uri>http://www.pinkjuice.com/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Thanks for this schema! The "start = xslt10 | xslt20" trick is really cool.</p>
<p>"how do I get emacs to use the 2.0 grammar for 2.0 stylesheets and the 1.0 grammar for 1.0 stylesheets?"</p>
<p>While I don't have entry-help in Vim, I installed your schema so that I can validate XSLT 2.0 documents from within Vim (and from the shell).</p>
<p>I added an entry to my language list, now I get:</p>
<p>$ cat 2_0_simple.xslt</p>
<p>&amp;lt;html xsl:version="2.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns="http://www.w3.org/1999/xhtml"&amp;gt;</p>
<p>&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Expense Report Summary&amp;lt;/title&amp;gt;
  &amp;lt;/head&amp;gt;</p>
<p>&amp;lt;body&amp;gt;
    &amp;lt;p&amp;gt;Total Amount: &amp;lt;xsl:value-of select="expense-report/total"/&amp;gt;&amp;lt;/p&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;</p>
<p>$ xval 2_0_simple.xslt</p>
<p>[xval] validating 2_0_simple.xslt against</p>
<p>/home/tobi/bulk/xml/schemas/xslt/2_0/rng/xslt20.rnc</p>
<p>[xval] jing:</p>
<p>$ # changed the file</p>
<p>$ xval 2_0_simple.xslt</p>
<p>[...]</p>
<p>[xval] jing:</p>
<p>/home/tobi/data/run/xval/_tests/2_0_simple.xslt:8:68:</p>
<p>error: element "fvalue-of" from namespace 
"http://www.w3.org/1999/XSL/Transform" not allowed in this context</p>
<p>$</p>
<p>(it would be great if you could allow backtalkers to enter preformatted code, eg via HTML pre or some Wiki style markup)</p></div></content>
</entry>

<entry>
<title>Comment 0004 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0004'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0004</id>
<published>2004-07-31T09:19:36Z</published>
<updated>2004-07-31T09:19:36Z</updated>
<author>
  <name>Tobi </name>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>"how do I get emacs to use the 2.0 grammar for 2.0 stylesheets and the 1.0 grammar for 1.0 stylesheets?</p>
<p>The short answer is: there isn’t any way (it could be done, but not with any of the techniques provided by an unmodified nxml mode)."</p>
<p>Does that mean that</p>
<p>http://groups.yahoo.com/group/emacs-nxml-mode/message/259</p>
<p>can't be used to associate the XSLT 1.0 RNG/RNC with XSLT 1.0 documents and the XSLT 2.0 RNG/RNC with XSLT 2.0 documents?</p></div></content>
</entry>

<entry>
<title>Comment 0005 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0005'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0005</id>
<published>2004-08-07T15:36:57Z</published>
<updated>2004-08-07T15:36:57Z</updated>
<author>
  <name>Tobi </name>
  <uri>http://www.pinkjuice.com/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>P.S.</p>
<p>My question was not rhetoric :)</p>
<p>I'd really be interested in an answer.</p>
<p>TIA</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 0006 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0006'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0006</id>
<published>2004-08-08T05:11:53Z</published>
<updated>2004-08-08T05:11:53Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I always have a hard time getting to the Yahoo Groups archives (I get infinite redirection), so I can't follow the link you posted, but I expect you're pointing to James' "locating rules" language.</p>
<p>As it stands today, you can't select a schema URI based on an attribute value on the root element (or even on the combination of namespace *and* the name of the root element).</p>
<p>That means there's no way for nxml-mode to tell the difference between XSLT 1.0 and XSLT 2.0.
But James and I have exchanged some email on the topic and I think there will be a new version that will be able to cope with the selection.</p></div></content>
</entry>

<entry>
<title>Comment 0007 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0007'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0007</id>
<published>2004-08-08T07:49:16Z</published>
<updated>2004-08-08T07:49:16Z</updated>
<author>
  <name>Tobi </name>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Thanks for the reply!</p>
<p>Here's what I use:</p>
<p>http://www.pinkjuice.com/language_list/my_language_list.xml</p>
<p>Works great.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 8 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0008'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0008</id>
<published>2004-12-08T22:05:37Z</published>
<updated>2004-12-08T22:05:37Z</updated>
<author>
  <name>Marian</name>
  <foaf:mbox_sha1sum>8bc9a9b3125dba554b0dc64a15225f6a28e547de</foaf:mbox_sha1sum>
  <uri>http://www.utdallas.edu/~mgo031000</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Is there a good debugger for XSLT 2.0?</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 9 on /2004/07/25/xslt20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/07/25/xslt20#comment0009'/>
<id>http://norman.walsh.name/2004/07/25/xslt20#comment0009</id>
<published>2004-12-23T18:04:22Z</published>
<updated>2004-12-23T18:04:22Z</updated>
<author>
  <name>Sean</name>
  <foaf:mbox_sha1sum>f414c07793abee5de3409992a01b05012ffcc54f</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>In my site-lisp\nxml-mode\schema directory I renamed James' original xslt.rnc to xslt10.rnc and installed Norm's xslt.rnc. I visited docbook.xsl and got the message, File mode specification error: (error "Reference not in a grammar at position 2 in c:/Program Files/emacs-21.3/site-lisp/nxml-mode/schema/xslt.rnc") in the echo area. The mode line indicates (nXML Valid). What am I doing wrong?</p></div></content>
</entry>

</feed>
