get attribute value from html code in java
        Posted  
        
            by sang
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sang
        
        
        
        Published on 2010-06-11T10:48:00Z
        Indexed on 
            2010/06/11
            10:52 UTC
        
        
        Read the original article
        Hit count: 180
        
java
Hi All
i have HTML string value and i want to get one attribute(id) value from that html String value can u help me how to do it??
String msHTMLFile = "<ABBR class='HighlightClass' id='highlight40001' style=\"BACKGROUND-COLOR: yellow\" >Fetal/Neonatal Morbidity and Mortality</ABBR>";
result should come - highlight40001;
© Stack Overflow or respective owner