Subject: RE: pattern matching possible?
From: "Hansen, John" <John.Hansen@xxxxxxxxxx>
Date: Wed, 12 May 2004 13:40:50 -0700
|
This error indicates that you are not using DOMDocument40 but, rather,
an earlier version (DOMDocument30 pssibly) which uses Microsoft's old
XSL language (by default) rather than the standard XSL language.
-----Original Message-----
From: Hardy Merrill [mailto:HMerrill@xxxxxxxxxxxxxxxx]
Sent: Wednesday, May 12, 2004 3:23 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; davidc@xxxxxxxxx
Subject: Re: pattern matching possible?
Sorry for the top post - thank Groupwise :(
I can't get 'translate' to work - this code (and many other similar
versions):
--------------------------------
Dim a
a =
"applications/application/acronym[translate(.,'ABCDEFGHIJKLMNOPQRSTUVWXY
Z','abcdefghijklmnopqrstuvwxyz')='"
& LCase(sNodeText) & "']"
oDupNodes = Session("Applications").selectNodes(a)
-------------------------------
produces this ASP error:
Unknown method.
applications/application/acronym[-->translate(.<--,'ABCDEFGHIJKLMNOPQRST
UVWXYZ','abcdefghijklmnopqrstuvwxyz')='asap']
Any ideas? Notice that it doesn't seem to like the 'translate'
function.
TIA.
Hardy Merrill
|