This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Recursion logic / coding



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]