| 169 | } |
| 170 | |
| 171 | XMLSchema::XMLSchema(std::string xml, std::string xsd, |
| 172 | Orientation orientation) : m_orientation(orientation) |
| 173 | { |
| 174 | xmlDocPtr doc = init(xml, xsd); |
| 175 | if (doc) |
| 176 | { |
| 177 | load(doc); |
| 178 | xmlFreeDoc(doc); |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | |
| 183 | XMLSchema::XMLSchema(const XMLDimList& dims, MetadataNode m, |