cancel
Showing results for 
Search instead for 
Did you mean: 

removing ns0 in target xml

praveen_yeddula2
Explorer
0 Kudos

Hi - Have anyone encountered this problem lately with namespace ns0 as the output. We need to remove it and and replace with some name, like customer or supplier etc. XMLAnamalizer is not working to create that output. Will appreciate your inputs.

--> xmlns:ns0 should come out as xmlns:customer etc ...

added anonymizer.acceptNamespaces --> with customer namespacexxx -> but did not create the output.

Thx,

-Praveen

Accepted Solutions (0)

Answers (3)

Answers (3)

prasanthi_chavala
Active Contributor
0 Kudos

Hi Praveen,

Please check if you have given the below exact configuration values.

  • Module Key: 0
  • Parameter Name: anonymizer.acceptNamespaces
  • Parameter Value: http://www.training.com/1.0 (where ” is used when you want to remove namespace prefix)

Thanks,

Prasanthi

Pranil1
Participant
0 Kudos

Hi Praveen,

We faced the same problem. Our requirement was to remove the prefix ns0, ns1 from target xml.

We used java mapping for the same.

Regards,

Pranil

Former Member
0 Kudos

Praveen,

Have you added another following parameter in module configuration -

Module Key:

Parameter Name: anonymizer.quote

Parameter Value: ‘

This is to specify the character to be used to enclose the attribute values.  The default value is ‘.  

Regards,

Ashish