I need to import data from a feed but one of the namespaces that has been used is not valid XML in that it is all uppercase instead of camel case.

I am able to import from any XML element except the ones using this namespace - is there a way to force feed import to accept those elements or another way of using xpath to reference those fields?

e.g.

<validNamespace:myElement>Value1</validNamespace:myElement>
<CAPSNAMESPACE:element>Value2</CAPSNAMESPACE:element>

I can access the value of the first element with xpath to validNamespace:myElement but if I try to reference CAPSNAMESPACE:element I get nothing.

Any suggestions welcome

Comments

Sorin Sarca’s picture

Hi,
for namespaces you should you as proces function "processXML" and in Process function settings you should fill your namespace(s).
If this doesn't help you, please provide a small sample of your xml file.

Sorin Sarca’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)