sorry i forgot to give you how the xml file appears


    <LabelType name="function" id="8">
      <LabelValueList>
        <LabelValue name="acyltransferase activity" id="8007" parent_idref="8000" GO="GO:0008415" />
        <LabelValue name="calcium- and calmodulin-responsive adenylate cyclase activity" id="8008" parent_idref="8000" GO="GO:0008294" />
        <LabelValue name="casein kinase I activity" id="11900" parent_idref="8000" GO="GO:0004681" />
        <LabelValue name="casein kinase activity" id="9634" parent_idref="8000" GO="GO:0004680" />
        <LabelValue name="function" id="75" parent_idref="75" />
        <LabelValue name="guanylate cyclase activity" id="8009" parent_idref="8000" GO="GO:0004383" />
        <LabelValue name="interleukin-12 receptor activity" id="8015" parent_idref="8000" GO="GO:0016517" />
        <LabelValue name="metalloendopeptidase activity" id="8010" parent_idref="8000" GO="GO:0004222" />
        <LabelValue name="molecular_function" id="8000" parent_idref="75" GO="GO:0003674" />
        <LabelValue name="potassium channel inhibitor activity" id="10264" parent_idref="8000" GO="GO:0019870" />
        <LabelValue name="protein serine/threonine phosphatase activity" id="8002" parent_idref="8000" GO="GO:0004722" />
        <LabelValue name="protein tyrosine phosphatase activity" id="8013" parent_idref="8000" GO="GO:0004725" />
        <LabelValue name="retinol isomerase activity" id="8012" parent_idref="8000" GO="GO:0050251" />
        <LabelValue name="serine protease" id="8003" parent_idref="8000" />
        <LabelValue name="specific transcriptional repressor activity" id="8019" parent_idref="8000" GO="GO:0016566" />
        <LabelValue name="telomeric DNA binding" id="8005" parent_idref="8000" GO="GO:0042162" />
        <LabelValue name="transcription factor activity" id="8018" parent_idref="8000" GO="GO:0003700" />
        <LabelValue name="transcription repressor activity" id="8017" parent_idref="8000" GO="GO:0016564" />
        <LabelValue name="tumor necrosis factor receptor activity" id="8004" parent_idref="8000" GO="GO:0005031" />
      </LabelValueList>
    </LabelType>
this is how the XML file is
Thanks

In reply to Re^3: problems with Xpath by Anonymous Monk
in thread problems with Xpath by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.