- From: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
- Date: Wed, 13 Dec 2006 10:13:44 +0000
- To: Martin Duerst <duerst@it.aoyama.ac.jp>
- CC: fsasaki@w3.org, Yves Savourel <yves@opentag.com>, public-i18n-its@w3.org
Martin Duerst wrote: > If you want a template to be selected with a particular, > complicated nodeset expression (whatever can go into a > apply-templates@select, http://www.w3.org/TR/xslt#element-apply-templates), > I think it should always work (except for namespace nodes) by > having > <xsl:apply-templates select="complicate expression" mode="unique value"/> > <xsl:template match="simplified pattern" mode="unique value"> > ...whatever > </xsl:template> > The way I apply ITS is to take each rule and turn it into an XSL "match" template. Then process the document with that template, so each element is processed in document order. If I change this to turn each ITS rule into <apply-templates select=""> expressions, I would stop processing in document order, surely? If XSLT had an in memory tree which you could manipulate, it would work. but unfortunately.... Sebastian
Received on Wednesday, 13 December 2006 10:13:56 UTC