\section{Any\-Element Struct Reference}
\label{structAnyElement}\index{AnyElement@{AnyElement}}
Struct that represents any XML element. 


{\tt \#include $<$Any\-Element.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf XML\_\-NODE\_\-TYPE} {\bf m\_\-type}
\item 
const char $\ast$ {\bf m\_\-pch\-Name\-Or\-Value}
\item 
const char $\ast$ {\bf m\_\-pch\-Namespace}
\item 
const char $\ast$ {\bf m\_\-pch\-Attributes} [MAX\_\-NO\_\-OF\_\-ATTRIBUTES $\ast$3]
\end{CompactItemize}


\subsection{Detailed Description}
Struct that represents any XML element.

This structure can represent any xml element that a SOAP message contains. Any parser implementation's next(..) or any\-Next() methods will return a  constant instance of this struct that will contain a xml element. In SAX  parser perspective this structure can contain information of Start\-Element,  End\-Element, Character data element or a prefix mapping event.

\begin{Desc}
\item[Author: ]\par
Susantha Kumara ({\tt susantha@opensource.lk}, {\tt skumara@virtusa.com}) \end{Desc}




\subsection{Member Data Documentation}
\index{AnyElement@{Any\-Element}!m_pchAttributes@{m\_\-pchAttributes}}
\index{m_pchAttributes@{m\_\-pchAttributes}!AnyElement@{Any\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Any\-Element::m\_\-pch\-Attributes[MAX\_\-NO\_\-OF\_\-ATTRIBUTES$\ast$3]}\label{structAnyElement_m3}


Each attribute has 3 entities: localname, namespace and value in order This char$\ast$ array can contain upto MAX\_\-NO\_\-OF\_\-ATTRIBUTES attributes. When a parser fills in this array the order should be localname, namespace and then value. If there is no prefix in an attribute the namespace should be NULL (note: The localname can never be null for an attribute. Then anyone consuming these attributes will increment the index by 3 starting from 0 (0, 3, 6 ... etc) and if that position in the array is NULL it is understood as the end of attributes. \index{AnyElement@{Any\-Element}!m_pchNameOrValue@{m\_\-pchNameOrValue}}
\index{m_pchNameOrValue@{m\_\-pchNameOrValue}!AnyElement@{Any\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Any\-Element::m\_\-pch\-Name\-Or\-Value}\label{structAnyElement_m1}


Local name in case of Start\-Element or End\-Element event. Character data in case of character data event. Namespace prefix in case of prefix  prefix mapping event. \index{AnyElement@{Any\-Element}!m_pchNamespace@{m\_\-pchNamespace}}
\index{m_pchNamespace@{m\_\-pchNamespace}!AnyElement@{Any\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Any\-Element::m\_\-pch\-Namespace}\label{structAnyElement_m2}


Namespace of Start\-Elemnt or End\-Element tag. In case there is no  namespace this should be NULL (not pointing to empty string \char`\"{}\char`\"{} even) \index{AnyElement@{Any\-Element}!m_type@{m\_\-type}}
\index{m_type@{m\_\-type}!AnyElement@{Any\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf XML\_\-NODE\_\-TYPE} Any\-Element::m\_\-type}\label{structAnyElement_m0}


Type of SAX event whose data that an Any\-Element can contain. 

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
{\bf Any\-Element.h}\end{CompactItemize}
