remove html tags and place new tags in xml document

Posted by Mohsinkhan.P under XML on 7/23/2012 | Points: 10 | Views : 1774 | Status : [Member] | Replies : 7
Hi,
I want to remove html tags in xml document and add new tags to access there value.
how can i do this.
please help.




Responses

Posted by: Ranjeet_8 on: 7/23/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Press Ctrl + H
then enter the value in, Find what and Replace with

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dotnetrajanikanth on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
Mohsinkhan.P,

Can you elaborate? How do you want to do? By programatically or through hard coded way? Please explain this will be helpful.

____________
www.flickr.com/photos/psdesigner/

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mohsinkhan.P on: 7/23/2012 [Member] Starter | Points: 25

Up
0
Down
i have xml file which is generated by converting html to xml. as shown below.



<div class="job_title1">
<span class="txt_green">MS CRM 4.0, MS CRM 2011, PHP, SQl server, My SQL, SSRS</span>
<br />
<br />
MCA (Computers), Amity Business School
<br />
<br />
- <span class="txt_grey">
Last Active: 16th Jul 2012
<br />
Resume ID: 23961482
</span>
</div>



Now i need to access the job title,Last Active, Resume ID .
They dont have tags. How can i add tags and access their values....
..

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 7/24/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

see this link

you will get information about how to add tag and use its value

http://www.w3schools.com/aspnet/aspnet_xml.asp

R D Patel

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 7/24/2012 [Member] Starter | Points: 25

Up
0
Down

Hi
refer this link
http://www.beansoftware.com/ASP.NET-Tutorials/Using-XML.aspx

R D Patel

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Megan00 on: 7/24/2012 [Member] Starter | Points: 25

Up
0
Down
Hi, below link can help you:

http://www.actionscript.org/forums/showthread.php3?t=260065

Never give up! Smile to the world!
http://excelcsharp.blog.com/

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mohsinkhan.P on: 7/24/2012 [Member] Starter | Points: 25

Up
0
Down
hi, that link shows how to replace a <br/> tag.
I want to add new tag by checking the condition that if Last Active exists then create a tag called last active..
How can i do this.

Mohsinkhan.P, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response