<commit_before>#include "pugixml.hpp"

#include <iostream>

int main()
{
// tag::code[]
    pugi::xml_document doc;

    pugi::xml_parse_result result = doc.load_file("maven.xml");

    std::cout << "Load result: " << result.description() << "\n";
    std::cout << "version name: " << doc.child("metadata").child("version").child_value() << std::endl;
    std::cout << "lastUpdated: " << doc.child("metadata").child("versioning").child("lastUpdated").child_value() << std::endl;
// end::code[]
}
<commit_msg>added link to pugixml quick start guide in comment.<commit_after>#include "pugixml.hpp"

#include <iostream>

// [pugixml quick start guide](http://pugixml.org/docs/quickstart.html)

int main()
{
// tag::code[]
    pugi::xml_document doc;

    pugi::xml_parse_result result = doc.load_file("maven.xml");

    std::cout << "Load result: " << result.description() << "\n";
    std::cout << "version name: " << doc.child("metadata").child("version").child_value() << std::endl;
    std::cout << "lastUpdated: " << doc.child("metadata").child("versioning").child("lastUpdated").child_value() << std::endl;
// end::code[]
}

{'fraction_non_alphanumeric': 0.21827861579414373, 'fraction_numerical': 0.0, 'mean_word_length': 4.875, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 11}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4797332', 'n_tokens_mistral': 386, 'n_tokens_neox': 379, 'n_words': 66}