xsl-list
[Top] [All Lists]

RE: pattern matching possible?

2004-05-12 13:40:50
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(_at_)dhcr(_dot_)state(_dot_)ny(_dot_)us] 
Sent: Wednesday, May 12, 2004 3:23 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com; 
davidc(_at_)nag(_dot_)co(_dot_)uk
Subject: Re: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>