Skip to content

Supporting xml_root_prefix #182

Description

@dyron

While implementing https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/dac7_node.html we need the ability to set the xml_root_prefix config (see https://github.com/schmittjoh/serializer/blob/master/src/Metadata/Driver/YamlDriver.php#L383)

Example:

<?xml version="1.0" encoding="UTF-8"?>
<dip:dip version="1.0" xmlns:dip="http://itzbund.de/ozg/bzst/post/dip/v1/" xmlns:dpi="urn:oecd:ties:dpi:v1" xmlns:iso="urn:oecd:ties:isodpitypes:v1" xmlns:stf="urn:oecd:ties:dpistf:v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://itzbund.de/ozg/bzst/post/dip/v1/ dip.xsd ">
    <dip:header environment="TEST">
        <dip:consignment>
            <dip:customerIdentifier>
                <dip:identityProvider>BZST-CERT</dip:identityProvider>
                <dip:identifier>BZ123456789</dip:identifier>
            </dip:customerIdentifier>
            <dip:creationTime>2023-10-01T12:00:00</dip:creationTime>
            <dip:transferticketId>09dedc8e-d2f8-4293-ad9e-9b50abce961c</dip:transferticketId>
        </dip:consignment>
        <dip:application code="DAC7"/>
    </dip:header>
    <dip:body>
        <dip:consignmentItem>
            <dip:data>
                <dpi:DPI_OECD version="1.0" xsi:schemaLocation="urn:oecd:ties:dpi:v1 DPIXML_v1.0.xsd " />
            </dip:data>
        </dip:consignmentItem>
    </dip:body>
</dip:dip>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions