Subject: [xsl] Searching for the longest path in a tree From: Norman Rosner <normanrosner@xxxxxx> Date: Thu, 7 Apr 2005 18:32:40 +0200 |
<corpus> <phrase id="syntax_7"> <!-- Diskurs-Baum -->
<phrase id="syntax_5"> <!-- Satz 1 --> <phrase id="syntax_1" cat="NP" func="PD" case="NOM"> <tok id="tok_1" lemma="dies" pos="PDS">Dies</tok> <tok id="tok_2" lemma="sein" pos="VAFIN">ist</tok> </phrase>
<phrase id="syntax_2" cat="NP" func="SB" case="NOM"> <tok id="tok_3" lemma="eine" pos="ART">ein</tok> <tok id="tok_4" lemma="Beispielsatz" pos="NN">Beispielsatz</tok> </phrase>
<tok id="tok_5" pos="$.">.</tok> </phrase>
<phrase id="syntax_5"> <!-- Satz 2 --> <tok id="tok_6" lemma="und" pos="KON">Und</tok> <tok id="tok_7" lemma="hier" pos="ADV">hier</tok> <tok id="tok_8" lemma="folgen" pos="VVFIN">folgt</tok>
<phrase id="syntax_3" cat="NP" func="IOBJ" case="DAT"> <tok id="tok_9" lemma="er" pos="PPER">ihm</tok> </phrase>
<tok id="tok_10" lemma="zum Beispiel" pos="ADV">z.B.</tok> <tok id="tok_11" lemma="noch" pos="ADV">noch</tok>
<phrase id="syntax_4" cat="NP" func="SB" case="NOM"> <tok id="tok_12" lemma="eine" pos="ART">ein</tok> <tok id="tok_13" lemma="weiter" pos="ADJA">weiterer</tok> <tok id="tok_14" lemma="Beispielsatz" pos="NN">Beispielsatz</tok> </phrase>
<tok id="tok_15" pos="$.">.</tok> </phrase> </phrase> </corpus>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to find the deepest n, Bert | Thread | Re: [xsl] Searching for the longest, David Carlisle |
RE: [xsl] How to test if a value it, Jaime Stuardo | Date | Re: [xsl] Searching for the longest, David Carlisle |
Month |