![]() |
zeep::xml::processing_instruction — A node containing a XML processing instruction (like e.g. <?php ?>)
// In header: <zeep/xml/node.hpp> class processing_instruction : public { public: // construct/copy/destruct (); (processing_instruction &&) ; (, ); // public member functions () ; () ; (); (node *) ; node * () ; node * (); // protected member functions (, format_info) ; };
processing_instruction
public
construct/copy/destruct();
(processing_instruction && pi) ;
( target, text);constructor with parameters
This constructs a processing instruction with the specified parameters
Parameters: |
|
processing_instruction
public member functions() ;return the qname which is the same as the target in this case
() ;return the target
( target);set the target
(node * n) ;compare nodes for equality
node * () ;return an exact copy of this node, including all data in sub nodes
node * ();
return a copy of this node, including all data in sub nodes, but in contrast with clone the data is moved from this node to the cloned node. This node will be empty afterwards.
processing_instruction
protected member functions( os, format_info fmt) ;low level routine for writing out XML
This method is usually called by operator<<(std::ostream&, zeep::xml::document&)