In the XML schema I am mapping to there are two namespaces: one aliased as ns0, and another as core.
When I am writing the scripts, they work if I don’t prefix the elements, but if I put either <ns0:element or <core:element in the element names, the elements disappear.
Tried <element xmlns:URI> and it worked fine, but that’s helluva lot of typing and I do need to use the aliases – it’s a standard.
What am I doing wrong? Sample that don’t work:
<core:ContactFunction>
<core:ContactFunctionCoded>Other</core:ContactFunctionCoded>
<core:ContactFunctionCodedOther>
<xsl:value-of select=”/DOCUMENTS/DOC/CINVOICE/CustomNotes/NameValueSet[SetName = ‘HeaderValues’]/ListOfNameValuePair/NameValuePair[Name = ‘CustomerContactFunctionOther’]/Value/text()”/>
</core:ContactFunctionCodedOther>
</core:ContactFunction>
Core is defined as follows:
xmlns:core=”rrn:org.xcbl:schemas/xcbl/v4_0/core/core.xsd“