I am a very new beginner in XPATH, so apologize if this is not the place to ask.

I want to select the Child Table 2 within the table below using XPath.

<table width="100%" border="0" cellspacing="0" cellpadding="0"> //// MAIN TABLE 
        <td colspan="2" style="padding-left: 2px;">
           <table border=0 width=100% cellspacing=0>   //// CHILD TABLE 1 
	<td colspan="2">
           <table width="100%" border="0" cellspacing="0" cellpadding="0">  //// CHILD TABLE 2 
			<td width =34% class='outline'>Item</td>
			<td width =45% class='outline'>Price</td>

I believe the expresion can be :

1. Expression that directly select Child Table 2. Is this correct?


2. Expression to select table that has the word "Item" or "Price".


But this would also select the parent table.

What should I write in the code in both cases ? Thanks

7 Years
Discussion Span
Last Post by nugroho2
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.