ToInnerXml Function
Returns the inner xml (does not include the outer element) for an Entity or Entity Field.
Syntax 1
ToInnerXml()
Returns the inner xml (does not include the outer element) for an Entity or Entity Field.
Syntax 2
ToInnerXml(field)
Returns the inner xml (does not include the outer element) for an Entity or Entity Field.
Arguments
field
Field - An Entity Field or Entity in the current context hierarchy.
Remarks
-
If the Entity is bound to state that does not support the ToXml method, a runtime error is thrown.
-
See also ToXml().
Example:
ToInnerXml(); // returns <EntityField1><PrimitiveField1>123</PrimitiveField1></EntityField1>
Example:
ToInnerXml(Entity1); // returns <EntityField1><PrimitiveField1>123</PrimitiveField1></EntityField1>
Example:
ToInnerXml(EntityField1); // returns <PrimitiveField1>123</PrimitiveField1>