Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 13th, 2007, 04:04 PM
Registered User
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default HELP - Find text / Replace with email link (XML or

I'm new to both XML and ASP.NET (vb), but what I want to do doesn't sound like it should be

hard but I can't figure it out.

I have an excel file with one cell containing a paragraph of text. I have this data

exported as XML and loaded in an ASP.NET page using asp:Xml to display. This all works

fine, what I want to add is a script that will read the text that is exported and look for

a person’s name. If it finds their name, replace with an active HTML email link.

Is this possible?

Where should I do this? In the XML? As a separate ASP.NET (vb) script?


Thanks in advance for any help.

Reply With Quote
  #2 (permalink)  
Old July 13th, 2007, 09:07 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

You can specify an XSL transformation file in the xml web control. So you could make a XSL transformation that does the replace. Here's an MSDN article about using the xml control that has a little bit in it about applying transformation. You'll have to figure out how to work the XSL XPath queries to modify the input to change the values.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and Replace a text in XML file AyatKh XML 17 May 23rd, 2012 09:05 PM
XSL to replace text in XML file neetukk XSLT 1 November 29th, 2006 05:20 AM
Autofill text from an Email Link zanna5910 Access 1 September 28th, 2005 07:13 PM
Create a find and a find and replace in VB.NET snowy0 VB How-To 0 January 26th, 2004 07:03 PM

All times are GMT -4. The time now is 01:52 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.