Référence FOM > DOM Support > XPath Extensions > fxDocumentFragment interface
fxDocumentFragment interface
The 3b2 extension to the W3C DOM Level 2 DocumentFragment interface.
augSerialize method
Serialize an augmented node to a string.
augSerialize contentOnly prettyPrint
Parameters
boolean contentOnly
If false (the default), the name and attributes of the node are included in the serialization. If true, the name and attributes of the node are omitted. In both cases, all information from the nodes children is included
boolean prettyPrint
If true, will format the serialized augmented node. If contentOnly is true, then it will not format the augmented node.
Returns
String. The serialized version of the augmented node.
serialize method
Serialize the node to a string.
serialize contentOnly prettyPrint
Parameters
boolean contentOnly
If false (the default), the name and attributes of the node are included in the serialization. If true, the name and attributes of the node are omitted. In both cases, all information from the nodes children is included
boolean prettyPrint
If true, will format the serialized node. If contentOnly is true, then it will not format the node.
Returns
String. The serialized version of the node.
Est-ce que cela a été utile ?