Title: XML DropDownList restricted to attributes - why not an XPath? · Issue #5 · uComponents/uComponents · GitHub
Open Graph Title: XML DropDownList restricted to attributes - why not an XPath? · Issue #5 · uComponents/uComponents
X Title: XML DropDownList restricted to attributes - why not an XPath? · Issue #5 · uComponents/uComponents
Description: When using the XML DropDownList datatype I can specify an XPath expression to select the nodes in the XML file that should be "selectable" - but I was completely baffled as to why the "Text column" and "Value column" values didn't work. ...
Open Graph Description: When using the XML DropDownList datatype I can specify an XPath expression to select the nodes in the XML file that should be "selectable" - but I was completely baffled as to why the "Text column"...
X Description: When using the XML DropDownList datatype I can specify an XPath expression to select the nodes in the XML file that should be "selectable" - but I was completely baffled as to why the &qu...
Opengraph URL: https://github.com/uComponents/uComponents/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"XML DropDownList restricted to attributes - why not an XPath?","articleBody":"When using the XML DropDownList datatype I can specify an XPath expression to select the nodes in the XML file that should be \"selectable\" - but I was completely baffled as to why the \"Text column\" and \"Value column\" values didn't work. My XML file looked like this:\n\n``` xml\n\u003citems\u003e\n \u003citem\u003e\n \u003cITEMNUMBER\u003e30401020\u003c/ITEMNUMBER\u003e\n \u003cfield\u003e\n \u003cfieldname\u003eITEMNAME\u003c/fieldname\u003e\n \u003cvalue\u003eMountain Bike\u003c/value\u003e\n \u003c/field\u003e\n \u003c/item\u003e\n ...\n\u003c/items\u003e\n```\n\nAnd I had set the **XPath** to `/items/item[field/fieldName = 'ITEMNAME']`, the **Text column** to `field/value` and the **Value column** to `ITEMNUMBER`.\n\nUpon closer reading I did at least grasp that the columns are referred to as \"fields\" and in my testing it seems like they can only select attributes on the selected node...\n\nI see this as somewhat restrictive, because it means I'll have to pre-process the XML to move data into attributes.\n\nSo I guess my suggestion is to allow the Text and Value columns to use an XPath selector?\n","author":{"url":"https://github.com/greystate","@type":"Person","name":"greystate"},"datePublished":"2014-01-27T08:55:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/5/uComponents/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba904485-44b9-6f52-19b9-9a0a38143a2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E30:32604D:A38AEB:DF33E6:6A5206DB |
| html-safe-nonce | 01a5831390f41c68ac20f719ba8bc1b59f6de77df5c8a23954fc30901af476c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTMwOjMyNjA0RDpBMzhBRUI6REYzM0U2OjZBNTIwNkRCIiwidmlzaXRvcl9pZCI6IjQyODE2NjY3NDUwMTQ2OTkxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1397def97deb9bd12935dfd3f22341e35c6c7f9bcffcfec3281ed8506be76803 |
| hovercard-subject-tag | issue:26338531 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uComponents/uComponents/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/686dd43829d53f48a5836d8948fb9977a917b315aad3ac5151aaee764ddbf5a3/uComponents/uComponents/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/686dd43829d53f48a5836d8948fb9977a917b315aad3ac5151aaee764ddbf5a3/uComponents/uComponents/issues/5 |
| og:image:alt | When using the XML DropDownList datatype I can specify an XPath expression to select the nodes in the XML file that should be "selectable" - but I was completely baffled as to why the "Text column"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | greystate |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/uComponents/uComponents git https://github.com/uComponents/uComponents.git |
| octolytics-dimension-user_id | 2280504 |
| octolytics-dimension-user_login | uComponents |
| octolytics-dimension-repository_id | 14960419 |
| octolytics-dimension-repository_nwo | uComponents/uComponents |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14960419 |
| octolytics-dimension-repository_network_root_nwo | uComponents/uComponents |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width