This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Extract email address from xhtml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Extract email address from xhtml file" Watch "Extract email address from xhtml file" New topic
Author

Extract email address from xhtml file

Sondes Daoud
Greenhorn

Joined: Aug 30, 2013
Posts: 2
I want to extract the email addresses from xhtml pages using JDOM or any similair api but i could'nt find the right expression of the xpath to do it.
Do you have any idea or suggestions ? Please??
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Without knowing what the XML looks like (where are those e-mail addresses? in which element or attribute?) we can't tell you an XPath expression to get at them.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: Extract email address from xhtml file
 
Similar Threads
sending form data to smtp gateway
LDAP Attributes
email server
SCEA Beta Part Assignment
JavaMail API and Postmaster undeliverable errors