This commit is contained in:
Thibaut Cuvelier 2024-09-28 16:41:55 +02:00
parent a06528ee2a
commit ca5d5a0b1a

View File

@ -399,6 +399,8 @@ public:
bool inText() const { return text_level_ != nlevel; } bool inText() const { return text_level_ != nlevel; }
/// ///
std::string xmlns() const { return xmlns_; } std::string xmlns() const { return xmlns_; }
///
MathMLVersion version() const { return version_; }
/// Returns the tag name prefixed by the name space if needed. /// Returns the tag name prefixed by the name space if needed.
std::string namespacedTag(std::string const & tag) const { std::string namespacedTag(std::string const & tag) const {
return (xmlns().empty() ? "" : xmlns() + ":") + tag; return (xmlns().empty() ? "" : xmlns() + ":") + tag;