# value

<value> is used specify an individual attribute value of the attribute specified by the enclosing element.

If the type is "structured", the <value> will contain at least one <component>. If the type is "octet" the contents of the <value> will be base64 encoded binary data. If the type is anything else, the contents will be text.

The following table shows the types used to represent the various eDirectory syntaxes.

> syntax | type | components (notes)
> --- | --- | ---
> SYN_UNKNOWN | octet | (base64 encoded data)
> SYN_DIST_NAME | dn | (referential)
> SYN_CE_STRING | string |
> SYN_CI_STRING | string |
> SYN_PR_STRING | string |
> SYN_NU_STRING | string |
> SYN_CI_LIST | structured | string (1 or more)
> SYN_BOOLEAN | state | "true" or "false"
> SYN_INTEGER | int |
> SYN_OCTET_STRING | octet | (base64 encoded data)
> SYN_TEL_NUMBER | teleNumber |
> SYN_FAX_NUMBER | structured | faxNumber faxBitCount faxParameters (base64 encoded data)
> SYN_NET_ADDRESS | structured | netAddrType netAddr (base64 encoded data)
> SYN_OCTET_LIST | structured | octet (base64 encoded data) (1 or more
> SYN_EMAIL_ADDRESS | structured | eMailType (1=SMF70,2=SMF71,3=SMTP,4=x400,5=snads, 6=profs,7=Groupwise) eMailAddr
> SYN_PATH | structured | nameSpace volume (referential) path
> SYN_REPLICA_POINTER | structured | server (referential) replicaType replicaNumber repeated 0 or more times { netAddrType netAddr (base64 encoded data) }
> SYN_OBJECT_ACL | structured | protectedName trustee (referential) privileges
> SYN_PO_ADDRESS | structured | string (exactly 6)
> SYN_TIMESTAMP | structured | seconds replicaNumber eventId
> SYN_CLASS_NAME | className |
> SYN_STREAM | octet | (base64 encoded data)
> SYN_COUNTER | counter |
> SYN_BACK_LINK | structured | serverDn (referential) remoteId
> SYN_TIME | time |
> SYN_TYPED_NAME | structured | dn (referential) level interval
> SYN_HOLD | structured | holdEntryDn (referential) holdAmount
> SYN_INTERVAL | interval |
> SYNTAX_COUNT | count |

Example

>     <value type="string">Gulia</value>

>     <value type="structured">
>      <component name="eMailType">3</component>
>      <component name="eMailAddr">me@myself.com</component>
>     </value>

## 1. Allowed Content

> #PCDATA
> component
>   Component of a structured attribute.

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> association-ref | CDATA The association value (application object unique key) of the object being referenced by this value. This is required on all components that refer to other objects when the value is part of a notification event from the driver. This will exist on all values that refer to other objects when the value is part of a command from DirXML if the referenced object has an established association in eDirectory. If a <component> is referential, the association-ref is on the <component> rather than the <value> | #IMPLIED
> naming | true | false (Reserved) Should be ignored by the driver. | false
> timestamp | CDATA (Reserved) Should be ignored by the driver. | #IMPLIED
> type | string | teleNumber | int | state | counter | dn | interval | octet | time | structured The data type of the value. | #IMPLIED

## 3. Content Rule

> ( #PCDATA | component ) *

## 4. Parent Elements

> add-attr
>   Add attribute.
> add-value
>   Add value(s).
> attr
>   Current state of an attribute.
> match-attr
>   Match an attribute. Deprecated as of DirXML 2.0.
> remove-value
>   Remove specified attribute value(s).
> required-attr
>   Required attribute. Deprecated as of DirXML 2.0.
> search-attr
>   Query search attribute value filter.

Top Elements || All Elements || Tree