[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Mike:
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
is nice ... though even he has to restate the requirements a bit! :-)
At 09:24 AM 12/31/01, you wrote:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Literal string question
Subject: Re: [xsl] Literal string question From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 02 Jan 2002 15:04:12 -0500 |
Mike:
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, Wendell
At 09:24 AM 12/31/01, you wrote:
Trevor, 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.
<CORPNAME>A.A. Peters</CORPNAME>
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 document.
====================================================================== 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Literal string question, Stuart Brown | Thread | RE: Assignment no, dynamic scoping , DPawson |
Re: [xsl] Re: Literal string questi, Wendell Piez | Date | Re: [xsl] Re: Assignment no, dynami, Wendell Piez |
Month |