E2E Bridge E2E Commerce

Add schemaLocation to XML document

E2E Forum Modeling & Development Add schemaLocation to XML document

This topic contains 2 replies, has 2 voices, and was last updated by  Marcel R. 6 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #503


    The E2E Bridge generates an XML document to exchange information with another party. The XML is based on a schema.

    How can I add the schemaLocation to this XML document?

    I’m afraid using the prolog option does not work, as the schemaLocation is usually appended within the root element as in the example at the bottom of this page:



    Currently solved using string concatenations on the resulting xml string.


    Marcel R.

    It might be worth a try to introduce a new class called for example ValidatedPricat. This class inherits from the original class and has the same tagged value xmlElementName but an additional attribute schemaLocation containing the reference to the schema.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.