Ticket #114 (closed defect: invalid)
cannot use variable to match attribute value when ..
| Reported by: | bbuff1 | Owned by: | ser |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | XPath | Version: | 3.1.4 |
| Severity: | critical | Keywords: | |
| Cc: | Ruby version: | 1.8.5 | |
| Operating system: | Unix |
Description (last modified by ser) (diff)
example The following code works:
x.root.elements["definition[@name='accountBalance']"]
But the following code does not work
test = 'accountBalance' x.root.elements["definition[@name=test]"]
Change History
Note: See
TracTickets for help on using
tickets.
