[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: pattern matching possible?

Subject: RE: pattern matching possible?
From: "Hansen, John" <John.Hansen@xxxxxxxxxx>
Date: Wed, 12 May 2004 13:40:50 -0700
domdocument30 domdocument40
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.