Can’t use namespace aliases in the XSLT script functoids

Home Page Forums BizTalk 2004 – BizTalk 2010 Can’t use namespace aliases in the XSLT script functoids

Viewing 1 reply thread
  • Author
    Posts
    • #19286

      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

    • #19298

      Never mind, found the solution. 

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.