Annihilannic,
Here is a sample data segment, note the actual XML tag pair <d104> and </d104>, cf. the example "<siteDescription>," appear.
SAMPLE DATA
<d104>Preface to the First Edition
<p>
Preface to the Second Edition
<p>
Preface to the Third Edition
<p>
Preface to the...
Dear Annihilannic,
s/<site>.*<\/site>/ /g worked perfectly for most of the instances where I needed a wildcard: individual strings and short phrases. Would you know how to invoke a wildcard in the s/<site>.*<\/site>/ /g construction to deal with entire paragraphs?
Therefore in the same...
Thanks to all of you again for the excellent advice.
Next issue in the saga:
Can I use a widecard such as * in these constructions?
In other words, using this same football to baseball web site example, but now the web sites are part of an xml file, incapsulated in elements called "site,"...
Dear Annihilannic,
Thanks for the excellent advice. This works quite well.
Follow up question:
How can I use this replaces script in cases where the character "/" is part of either the string to be found or replaced (or both)? e.g., using the sports teams example again...
Dear TekTips,
I am interested in a shell script to use in the darwin UNIX implementation on my MAC (running OS X 10.2.8) that will perform multiple [possibly hundreds of] find and replace functions within a document.
As an example, if I had document that contained, among other thing, the...
Dear Colleagues,
How can I create, duplicate, and/or allow for multiple colums with the same name in the same table in MS Access 2003?
Example, a table of bibliogpaphic information on books with the fields (i.e. columns names):
book title
isbn
subject
publisher
author
author...
I would like to import XML files that carry book metadata (ONIX files) into MS Access and am having two problems. First the data in one of the fields across the set of records, the description field, are significantly longer than 255 characters, althought I cannot tell how much exactly. I think...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.