Hallo zusammen,
ich stehe momentan auf den Schlauch und bitte um Eure Mithilfe.
Ich habe folgendes Beispiel-XML:
Nun möchte ich ermitteln, wie oft die häufigste Attribut-Id vorkommt. Sprich in diesem Beispiel wäre es attr="1", welche drei mal vorkommt, deshalb hätte ich gerne einen Ausdruck der mir "3" liefert.
Hat jemand eine Idee?
Gruß Martin
ich stehe momentan auf den Schlauch und bitte um Eure Mithilfe.
Ich habe folgendes Beispiel-XML:
HTML Code:
<root> <element attr="1">Value1</element> <element attr="1">Value1</element> <element attr="2">Value1</element> <element attr="2">Value1</element> <element attr="2">Value1</element> <element attr="3">Value1</element> <element attr="4">Value1</element> <element attr="4">Value1</element> </root>
Hat jemand eine Idee?
Gruß Martin
Comment