Jump to content

Add xmlns URL to an XML message using an XSD


Recommended Posts

I want to configure an XSD in a way that Scribe creates an XML file including thexmlns URL (marked in bold below).

TheXML file has to be created by Scribe via an XML connector:

XML file:

 

 

NLRS

YPS

BDRNL-190179

QUO-03258-P4S9H9

0000196788

 

1

57176

1.0000000000

434.0000

 

When this XML file is converted to an XSD, and XSD is stored on scribe server (as configured in the Scribe XML connector), the xmlns is not added by Scribe to the XML file.

First part of generated XSD:

 

 

 

 

 

 

Result:

 

 

NLRS

YPS

QUO-03245-T5M0F0

0000187541

 

1

7654713

1.0000000000

9936.0000

 

How must i setup the XSD file to get the xmlns in the XML file

 

Thanks in advance.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Could you please try using the following XSD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

this resulted in the following xml on my side

 

 

NLRS

YPS

BDRNL-190179

QUO-03258-P4S9H9

196788

 

1

57176

1.0000000000

434.0000

 

thanks

Nick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...