I have a reference to an xml_node
. Is there a way to change it to be a comment type node (node_comment
)? Essentially to comment the node out.
Change a node to be a comment node
437 Views Asked by ilya1725 At
1
I have a reference to an xml_node
. Is there a way to change it to be a comment type node (node_comment
)? Essentially to comment the node out.
For converting an element into a comment, you'd want to use something along these lines: