Previous Topic: Complex Attributes

Next Topic: Example: Add a Multivalued Complex Attribute

Example: Add a Single-Valued Complex Attribute

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addRequest xmlns="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core">
    <identifier type="urn:oasis:names:tc:SPML:1:0#DN">
        <id>address@User=new_global_user,Domain=EXAMPLE_DOMAIN,Server=Server</id>
    </identifier>
    <attributes>
        <attr name="street">
            <dsml:value>123 Church St </dsml:value>
        </attr>
        <attr name="postcode">
            <dsml:value>3121</dsml:value>
        </attr>
    </attributes>
</addRequest>