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

Re: Literal string question

Subject: Re: Literal string question
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 02 Jan 2002 15:04:12 -0500
literal string xml

Doesn't NoteTab have support for regular expressions in its search/replace? How much data do you have anyway? replacing '\.[^ ]' with '& ' (using the syntax my editor recognizes) could go pretty quickly, even allowing for any gotchas you'd have to check for (such as tag names with periods in them, whatever).

Sometimes tooling up an assembly line to automate a task, is harder than just doing it....

(Now Mike K.'s

test="contains(translate($s, 'ABCDE...Z', 'A'), '.A')"

is nice ... though even he has to restate the requirements a bit! :-)

Still being a contrarian,

At 09:24 AM 12/31/01, you wrote:
What I have in mind is to PULL the data from a specific field in my
XML document which has initials without a space between them.


Then (removing the HTML coding using the toolbar macro) I will make
this list of names an array in my NOTE TAB PRO clip library. I copy
the list and search and replace to put spaces in. The corrected list
then becomes my replace array. I run the NTP clip and all the
initials in the first array are replaced in by the corrected names in
the second array. This is done all in my XML document.

I only needed the XSL syntax so I can PULL the data out of my XML

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.