cancel
Showing results for 
Search instead for 
Did you mean: 

UBL namespace

Former Member
0 Kudos

Hi everyone,

I have a problem in creating the UBL structure. My structure is like below:

<ns1:UBLExtension>

<ns1:ExtensionContent>

<ns2:Signature Id="" xmlns:ns2="http://www.w3.org/2000/09/xmldsig#">

<ns2:SignedInfo Id="">

<ns2:CanonicalizationMethod Algorithm=""/>

the UBL structure I must create is like below:

<cbc:UBLVersionID>2.0</cbc:UBLVersionID>

<cbc:CustomizationID>1.0</cbc:CustomizationID>

<cbc:ProfileID>asdasd</cbc:ProfileID>

<cbc:ID>2345678</cbc:ID>

<cbc:CopyIndicator>false</cbc:CopyIndicator>

the prefixes are different. In my structure they are ns1. The original is cdc.

How can I change this. Has anyone any know how on processing UBL structures?

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

the easiest option would be to use a java mapping and repalce all the prefix with the required value.

/people/shabarish.vijayakumar/blog/2010/05/07/quick-tips-dealing-with-namespaces-in-xipi

Else if you can get the standard XSD for the UBL message, it will retain the prefix automatically.

Answers (1)

Answers (1)

Former Member
0 Kudos