<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_rwxml_8h">
<title>/Users/bernard/b20/bsoft/include/rwxml.h File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/include/rwxml.h</primary></indexterm>
<para>

<para>Reads and writes micrograph XML files. </para>
 
</para>
<programlisting>#include &lt;libxml/parser.h&gt;
#include &lt;libxml/xmlschemas.h&gt;
#include &quot;Bstring.h&quot;
</programlisting><simplesect>
    <title>Typedefs    </title>
        <itemizedlist>
            <listitem><para>typedef const char * <link linkend="_rwxml_8h_1a1bbfb8e170dae85835afe09a7090b8e6">xmlFormat</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_rwxml_8h_1a04472a7d96c79fe9944fd9223ed41d9a">xml_check_for_node</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>int <link linkend="_rwxml_8h_1a72cf2feb74b8cdb355664a4118b2fe89">xml_check_for_node_in_tree</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>xmlNodePtr <link linkend="_rwxml_8h_1a7fbbf5b1f6fad5ca4b6602fa5bc5cec4">xml_find_node</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>int <link linkend="_rwxml_8h_1a2afc297c5890ac60c83e9cc8623c147e">xml_copy_string</link> (char *string, xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>string <link linkend="_rwxml_8h_1a03ac5e64d0134a7d09bbdb59fe06b9fb">xml_get_string_attribute</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>long <link linkend="_rwxml_8h_1ac3c01311dd7885dc76090314c837d43e">xml_get_integer_attribute</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>double <link linkend="_rwxml_8h_1a33500a884f18367ce4ad0f73f837a7bc">xml_get_real_attribute</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>string <link linkend="_rwxml_8h_1a67a7ee1a9a84565f54fda34788d0a376">xml_get_string</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>long <link linkend="_rwxml_8h_1a2c0d40638f3f01cd047924dfac0d9225">xml_get_integer</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>double <link linkend="_rwxml_8h_1a62491da899e49356ea53b91c36e1a994">xml_get_real</link> (xmlNodePtr parent, const char *tag)</para>
</listitem>
            <listitem><para>xmlAttrPtr <link linkend="_rwxml_8h_1ac7cafc1a77e678f13151ea668d67264f">xml_set_integer_attribute</link> (xmlNodePtr parent, const char *tag, long value, const char *format)</para>
</listitem>
            <listitem><para>xmlAttrPtr <link linkend="_rwxml_8h_1ab596fea1b3e3ab5e14e644951cb0e8a2">xml_set_real_attribute</link> (xmlNodePtr parent, const char *tag, double value, const char *format)</para>
</listitem>
            <listitem><para>xmlNodePtr <link linkend="_rwxml_8h_1a709dd452e8a8b9489efb5d5b43015717">xml_set_integer</link> (xmlNodePtr parent, const char *tag, long value, const char *format)</para>
</listitem>
            <listitem><para>xmlNodePtr <link linkend="_rwxml_8h_1a1c6e67cc25beeaa72eb93b73cf0da88a">xml_set_real</link> (xmlNodePtr parent, const char *tag, double value, const char *format)</para>
</listitem>
            <listitem><para>int <link linkend="_rwxml_8h_1ae9c6a5a6a724deb4299aaf3ccd49f4a7">xml_validate</link> (const xmlDocPtr doc, <link linkend="_class_bstring">Bstring</link> &amp;xsdfile)</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Reads and writes micrograph XML files. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20050920 </para>

<para>Modified: 20180702 </para>
</formalpara>
</para>
</section>
<section>
<title>Typedef Documentation</title>
<anchor xml:id="_rwxml_8h_1a1bbfb8e170dae85835afe09a7090b8e6"/>    <section>
    <title>xmlFormat</title>
<indexterm><primary>xmlFormat</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xmlFormat</secondary></indexterm>
<para><computeroutput>typedef const char* <link linkend="_rwxml_8h_1a1bbfb8e170dae85835afe09a7090b8e6">xmlFormat</link></computeroutput></para><para>
Definition at line 16 of file rwxml.h.</para>
</section>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_rwxml_8h_1a04472a7d96c79fe9944fd9223ed41d9a"/>    <section>
    <title>xml_check_for_node()</title>
<indexterm><primary>xml_check_for_node</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_check_for_node</secondary></indexterm>
<para><computeroutput>int xml_check_for_node (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a72cf2feb74b8cdb355664a4118b2fe89"/>    <section>
    <title>xml_check_for_node_in_tree()</title>
<indexterm><primary>xml_check_for_node_in_tree</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_check_for_node_in_tree</secondary></indexterm>
<para><computeroutput>int xml_check_for_node_in_tree (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a2afc297c5890ac60c83e9cc8623c147e"/>    <section>
    <title>xml_copy_string()</title>
<indexterm><primary>xml_copy_string</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_copy_string</secondary></indexterm>
<para><computeroutput>int xml_copy_string (char * string, xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a7fbbf5b1f6fad5ca4b6602fa5bc5cec4"/>    <section>
    <title>xml_find_node()</title>
<indexterm><primary>xml_find_node</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_find_node</secondary></indexterm>
<para><computeroutput>xmlNodePtr xml_find_node (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a2c0d40638f3f01cd047924dfac0d9225"/>    <section>
    <title>xml_get_integer()</title>
<indexterm><primary>xml_get_integer</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_integer</secondary></indexterm>
<para><computeroutput>long xml_get_integer (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1ac3c01311dd7885dc76090314c837d43e"/>    <section>
    <title>xml_get_integer_attribute()</title>
<indexterm><primary>xml_get_integer_attribute</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_integer_attribute</secondary></indexterm>
<para><computeroutput>long xml_get_integer_attribute (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a62491da899e49356ea53b91c36e1a994"/>    <section>
    <title>xml_get_real()</title>
<indexterm><primary>xml_get_real</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_real</secondary></indexterm>
<para><computeroutput>double xml_get_real (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a33500a884f18367ce4ad0f73f837a7bc"/>    <section>
    <title>xml_get_real_attribute()</title>
<indexterm><primary>xml_get_real_attribute</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_real_attribute</secondary></indexterm>
<para><computeroutput>double xml_get_real_attribute (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a67a7ee1a9a84565f54fda34788d0a376"/>    <section>
    <title>xml_get_string()</title>
<indexterm><primary>xml_get_string</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_string</secondary></indexterm>
<para><computeroutput>string xml_get_string (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a03ac5e64d0134a7d09bbdb59fe06b9fb"/>    <section>
    <title>xml_get_string_attribute()</title>
<indexterm><primary>xml_get_string_attribute</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_get_string_attribute</secondary></indexterm>
<para><computeroutput>string xml_get_string_attribute (xmlNodePtr parent, const char * tag)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a709dd452e8a8b9489efb5d5b43015717"/>    <section>
    <title>xml_set_integer()</title>
<indexterm><primary>xml_set_integer</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_set_integer</secondary></indexterm>
<para><computeroutput>xmlNodePtr xml_set_integer (xmlNodePtr parent, const char * tag, long value, const char * format)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1ac7cafc1a77e678f13151ea668d67264f"/>    <section>
    <title>xml_set_integer_attribute()</title>
<indexterm><primary>xml_set_integer_attribute</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_set_integer_attribute</secondary></indexterm>
<para><computeroutput>xmlAttrPtr xml_set_integer_attribute (xmlNodePtr parent, const char * tag, long value, const char * format)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1a1c6e67cc25beeaa72eb93b73cf0da88a"/>    <section>
    <title>xml_set_real()</title>
<indexterm><primary>xml_set_real</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_set_real</secondary></indexterm>
<para><computeroutput>xmlNodePtr xml_set_real (xmlNodePtr parent, const char * tag, double value, const char * format)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1ab596fea1b3e3ab5e14e644951cb0e8a2"/>    <section>
    <title>xml_set_real_attribute()</title>
<indexterm><primary>xml_set_real_attribute</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_set_real_attribute</secondary></indexterm>
<para><computeroutput>xmlAttrPtr xml_set_real_attribute (xmlNodePtr parent, const char * tag, double value, const char * format)</computeroutput></para>    </section><anchor xml:id="_rwxml_8h_1ae9c6a5a6a724deb4299aaf3ccd49f4a7"/>    <section>
    <title>xml_validate()</title>
<indexterm><primary>xml_validate</primary><secondary>rwxml.h</secondary></indexterm>
<indexterm><primary>rwxml.h</primary><secondary>xml_validate</secondary></indexterm>
<para><computeroutput>int xml_validate (const xmlDocPtr doc, <link linkend="_class_bstring">Bstring</link> &amp; xsdfile)</computeroutput></para></section>
</section>
</section>
