learn java
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 The Software Craftsman this week in the Agile 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: 14669
    
  25

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 8 API documentation
 
wood burning stoves
 
subject: Extract email address from xhtml file