Subject: Re: Recursion logic / coding
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 16 Jul 2001 18:36:52 +0100
|
> I can't seem to find something that says one way or another
> if parameter names can start with a number.
XPath spec:
[36] VariableReference ::= '$' QName
A Qname is defined in the XML Namespace spec, but it's the same
production as for XML element and attribute names, so you can't have $1
just as you can't have <1/>.
> So before the coding processes the rest of the text node, I should recurse
> over the first part of the node. Did I understand your suggestion
> correctly?
yes, there's a general replace template at the FAQ site if I remember
correctly.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|