Checking on hidden class with jsoup
I am trying to extract a line from a html file for checking purposes... The problematic line is this: <div class="cli_product_message x-hidden hidden" style="display: none;"> </div> It shows in 2 different ways in different html pages, the way shown above or like this <div class="cli_product_message" </div> I want to do a simple thing, when there is the "hidden" class or the "style" attribute a method should return false, otherwise true. I've tried using jsoup to parse this html using select("div.cli_product_message").attr("class") Then I want to verify if the string obtained contains hidden or style, the problem is that, in both cases, the result string is cli_product_message x-hidden So I don't have nothing to differentiate the 2... I've tried using other jsoup methods, for example toString() but the result is the same... What can I do? Thanks
Trying to create a Mysql query to find the max in my table but I need advice
Android: How to load multiple pictures and sounds in an activity without a out of memory error
get the process name/id of the port number in netstat
How to add time events in libgdx
How to get #Test methods from the test classes, when running TestNG programmatically
Using Java gcm-server to send message to topic
Code not matching the Applet
How to get all files in a directory with exclusion of subdirectories using regular expression?
Spring sql-error-codes.xml does not show correct exception on timeout
Approaches to Android MediaPlayer state mismatch error on isPlaying()?
Issue with Android SQLite cursor while reading table having blob content
Is there a non-jdk implementation for a concurrent weak hash map?
how to immplement dynamic parameter on Jmeter with java
What to do when catching e(rror) in Java
apache.servicemix.bundles.quickfix - Attempting to create standalone NewOrderSingle object throws exception
Printing a message if a char has more than one symbol(using char, not String)