library: libXMLParser #include "TXMLDocument.h"

# TXMLDocument

class description - source file - inheritance tree (.pdf)

## class TXMLDocument : public TObject

| Inheritance Chart:
`TObject`
| <- | `TXMLDocument` |

        public:

                          TXMLDocument(_xmlDoc* doc)
                          TXMLDocument(const TXMLDocument&)
                  virtual ~TXMLDocument()
           static TClass* Class()
              const char* Encoding() const
                TXMLNode* GetRootNode() const
          virtual TClass* IsA() const
            TXMLDocument& operator=(const TXMLDocument&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
              const char* URL() const
              const char* Version() const

### Data Members

        private:

          _xmlDoc* fXMLDoc  libxml xml doc

## Class Description

     TXMLDocument

     TXMLDocument contains a pointer to an xmlDoc structure, after the
     parser returns a tree built during the document analysis.

TXMLDocument(_xmlDoc *doc) : fXMLDoc(doc)

     TXMLDocument constructor.

~TXMLDocument()

     TXMLDocument destructor.
     Free the global variables that may
     have been allocated by the parser.

TXMLNode* GetRootNode() const

     Returns the root element node.

const char* Version() const

     Returns the XML version string or 0 in case there is no document set.

const char* Encoding() const

     Returns external initial encoding, if any or 0 in case there is no
     document set.

const char* URL() const

     Returns the URI for the document or 0 in case there is no document set.

### Inline Functions

                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
             TXMLDocument TXMLDocument(const TXMLDocument&)
            TXMLDocument& operator=(const TXMLDocument&)

Author: Jose Lo 12/4/2005
Last update: root/xmlparser:$Name: $:$Id: TXMLDocument.cxx,v 1.1 2005/05/11 13:19:50 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *