WriteNodeShallow (IXmlWriterLite)
Copies the current node from the specified source IXmlReader
to the IXmlWriterLite
, without writing the children of the current node.
Syntax
HRESULT WriteNodeShallow (IXmlReader pReader, BOOL fWriteDefaultAttributes);
Arguments
pReader
The reader to read from.
fWriteDefaultAttributes
Specifies whether to also copy the default attributes or elements from the supplied IXmlReader
.
Return Value
Returns S_OK if no error is generated.
Remarks
This method copies the current node from the specified IXmlReader
to the IXmlWriterLite
, without writing the children of the current node. This method is like WriteNode, except that it only writes the current node. It does not close the node, and does not move the reader forward.
Requirements
Header: XmlLite.h
Library: XmlLite.lib