aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

Extract email address from xhtml file

Sondes Daoud

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: 13868

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
I agree. Here's the link:
subject: Extract email address from xhtml file
Similar Threads
LDAP Attributes
email server
SCEA Beta Part Assignment
sending form data to smtp gateway
JavaMail API and Postmaster undeliverable errors