wordpress - Match XML elements/nodes that contain 'X' with XPath -
i'm using wp-property , wp-property: importer plugins manage properties on wordpress powered website. importer uses xpath rules map fields in imported xml file corresponding field on site.
e.g. 'display address' maps 'address/full'
i have set of elements this:
<property> <feature1>feature</feature> <feature2>feature</feature> <feature3>feature</feature> <feature4>feature</feature> <feature5>feature</feature> <address> <full>abc</full> <street>def</street> <postcode>ghi</postcode> </address> </property>
i want group these 1 entry rather setting separate fields each one, i'm looking means match feature* i've tried far seems have missed mark. goes without saying i've never dabbled xpath before today!
Comments
Post a Comment