This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
0 Replies Last post: Mar 22, 2013 5:38 PM by Willis Morse  
Willis Morse Newbie 53 posts since
Sep 13, 2002
Currently Being Moderated

Mar 22, 2013 5:38 PM

Is there a way to see raw results for Evaluate XPath?

I am trying to extract text from xml/html, using xpaths like this:

 

     //div[@class="table_header"]/text()

 

 

I would expect to get a simple list of strings, but instead I get results like:

 

 

(90: 58) <div id="territory_sales_summary" class="table_header">Territory Sales Summary</div>

(169: 49) <div id="accounts_table" class="table_header">Accounts</div>

(248: 69) <div id="marketing_objectives_eval_mcrcyou" class="table_header">Marketing

(326: 66) <div id="marketing_objectives_eval_nsclc" class="table_header">Marketing Objectives

(415: 60) <div id="marketing_objectives_eval" class="table_header">Selling Skills</div>

(478: 60) <div id="territory_board_contr_box" class="table_header">Territory Board Contributions</div>

(547: 29) <div class="table_header">Development Discussion</div>

(557: 53) <div id="additional_content" class="table_header">Additional Content</div>

 

 

In general, the xpath results panel is always showing a list of elements that match, and they are often truncated arbitrarily at line breaks so it's not even showing the entire element.

 

 

Is there a way to see the raw results from an XPath?

 

 

 

More Like This

  • Retrieving data ...