QueryPath\DOMQuery::writeXHTML PHP Method

writeXHTML() public method

Typically, you should use this instead of {@link writeHTML()}. Currently, this functions identically to {@link toXML()} except that it always uses closing tags (e.g. always @code@endcode, never @code