wood burning stoves 2.0*
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
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: 14114
    
  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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Extract email address from xhtml file