# FdoXmlCopyHandler Class Reference

`#include <CopyHandler.h>`

Inheritance diagram for FdoXmlCopyHandler:

[legend]

List of all members.

## Detailed Description

FdoXmlCopyHandler can be used to copy a set of elements from one XML document to another. It can be created and set as the SAX Handler for an XML Reader on the document to copy from. An XML Writer to the document to copy to is passed to one of the Create methods below. The elements to copy will be inserted at the XML writer's current position.

Definition at line 32 of file CopyHandler.h.

## Public Member Functions
virtual FDO_API_COMMON FdoBoolean | AttHasNs (FdoString *uri, FdoString *name, FdoString *qName, FdoXmlAttribute *att)
| This function is called before each attribute is copied to the destination document. It determines whether the attribute value references a qualified XML element name. If it does, then the namespace prefix for the value is converted to the equivalent prefix in the destination document.
FDO_API_COMMON | FdoXmlCopyHandler (FdoXmlWriter *writer, FdoString *uri, FdoString *name, FdoString *qName, FdoXmlAttributeCollection *atts, FdoDictionary *namespaces=NULL)
FDO_API_COMMON | FdoXmlCopyHandler (FdoXmlWriter *writer)
virtual FDO_API_COMMON | ~FdoXmlCopyHandler ()
## Static Public Member Functions
static FDO_API_COMMON FdoXmlCopyHandler * | Create (FdoXmlWriter *writer, FdoString *uri, FdoString *name, FdoString *qName, FdoXmlAttributeCollection *atts, FdoDictionary *namespaces=NULL)
| Constructs a Copy Handler. When attached (as the SAX Handler) to a FdoXmlReader, this object copies the current element being parsed, plus all of its sub-elements.
static FDO_API_COMMON FdoXmlCopyHandler * | Create (FdoXmlWriter *writer)
| Constructs a Copy Handler. When attached (as the SAX Handler) to a FdoXmlReader, this object copies all sub-elements of the current element being parsed.

The documentation for this class was generated from the following file:

- CopyHandler.h