2 #ifndef _PROPERTYPARSER_HXX_
3 #define _PROPERTYPARSER_HXX_
5 #include "parserBase.hxx"
9 #include "YacsTrace.hxx"
14 /*! \brief Class for property parser.
16 * Class used to parse a property.
17 * A property is a pair of name(string), value(string)
21 <xsd:complexType name="PropertyType">
22 <xsd:attribute name="name" type="xsd:string" use="required"/>
23 <xsd:attribute name="value" type="xsd:string" use="required"/>
28 struct propertytypeParser: parser
30 static propertytypeParser propertyParser;
31 virtual void buildAttr(const XML_Char** attr);
32 virtual void name(const std::string& name);
33 virtual void value(const std::string& name);