Jeff Hooker wrote:
> Ok, that explains that; 
>  
> I thought the console was displaying a truncated version of the parameter I 
> was passing to the xpathSearch function, but I don't think that that is the 
> case; it's cutting off the xpath at the comma in the contains() function call.
>  
> pmc.showallnext "(descendant::*|following::*)[contains(@arch,"
>  
> should be:
>  
> pmc.showallnext "(descendant::*|following::*)[contains(@arch, 'HyPHY20G')]"
>  
> The Xpath works from the command window, but not when passed as a parameter 
> within a config file
>  
> <itemlabel="Show 
> HyPHY20G"command="pmc.showall"parameter="(descendant::*|following::*)[contains(@arch,
>  'HyPHY20G')]"></item>
>  
> I've fixed it by moving the xpath to the place where the xpathSearch command 
> is actually called and just passing the HyPHY20G as the parameter instead of 
> the full path (as I should have done in the first, place, I'd say).
>  

OK, I understand now what happened. Thank you for this info.



Reply via email to