bildwelt
E2E FORUM
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. 4 years, 6 months ago.

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

    Christof
    Blocked

    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 http://docu.e2ebridge.com/classToXML# does not work, as the schemaLocation is usually appended within the root element as in the example at the bottom of this page:

    http://www.w3schools.com/schema/schema_howto.asp

    #508

    Christof
    Blocked

    Currently solved using string concatenations on the resulting xml string.

    #510

    Marcel R.
    Blocked

    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.