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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -