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

Spell Check Type Matching in XPath?

Subject: Spell Check Type Matching in XPath?
From: "Eliot Kimber eliot.kimber@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Apr 2022 17:57:08 -0000
 Spell Check Type Matching in XPath?
Im writing a Schematron rule that tries to identify URLs where the server
component is close to, but not quite, docs.servicenow.com, i.e., seivcenow
or servcinow or whatever. I also need to eliminate servers that are not like
servicenow, such as docs.amazon.com.

Basically I want a the kind of fuzzy match on servicenow that youd get with
normal spell checking.

Im not seeing an easy way to do this in XSLT/XPath (in the context of the
XSLT Schematron engine in Oxygen XML).

But I feel like Im missing some more-or-less obvious way to do this with
regular expression or maybe a fold or something (I can use XPath 3).

What am I missing?

Thanks,

E.
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> |
Twitter<https://twitter.com/servicenow> |
YouTube<https://www.youtube.com/user/servicenowinc> |
Facebook<https://www.facebook.com/servicenow>

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.