Subject: AW: AW: AW: [xsl] compare attributes From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx> Date: Fri, 11 Sep 2009 13:30:10 +0200 |
no error ! it just doens't do what its supposed to ^^ I still seems to enter the when instead of the otherwise. sample output: <zs_liste ilfo="14"> <zs_absatz font="Times New Roman" size="18" jc="both" spacing="29" ind-left="0" ind-right="5"> <listenpunkt ilvl="0" ilfo="14"/>Das Berufungsgericht hat diese Rechtsprechung in vertretbarer Weise auf den Einzelfall angewendet,wenn es die </zs_absatz> <zs_absatz font="Times New Roman" size="18" jc="both" spacing="24" ind-left="0" ind-right="5"> <listenpunkt ilvl="0" ilfo="14"/>Im Cbrigen berC<hrt es keine erheblicheRechtsfrage, welchen Eindruck der angesprochene Leserkreis von einer </zs_absatz> <zs_absatz font="Times New Roman" size="18" jc="both" spacing="19" ind-left="0" ind-right="5"> <listenpunkt ilvl="0" ilfo="9"/>Die vom Berufungsgericht gebilligte ErmC$chtigung zur UrteilsverC6ffentlichung auf der Titelseite entspricht dem teil – dem Talionsprinzip entsprechend – in der Regel in jener Form und Aufmachung zu publizieren ist, in der auch die </zs_absatz> <zs_absatz font="Times New Roman" size="18" jc="both" spacing="19" ind-left="0" ind-right="5"> <listenpunkt ilvl="0" ilfo="9"/>Die Rechtsmittelwerberin verweist auf B' 34Abs 4 MedienG, wonach bei in einem periodischen Mediumbegangenen UrteilsverC6ffentlichung „in sinngemC$Cer Anwendung des B' 13 MedienG“ zuerfolgen habe; nach B' 13 Abs 4 MedienG genC<ge die Gegendarstellung im Blattinneren. </zs_absatz> <zs_absatz font="Times New Roman" size="18" jc="both" spacing="29" ind-left="0" ind-right="0"> <listenpunkt ilvl="0" ilfo="16"/>Dem ist entgegenzuhalten, dass im Schrifttum sogar fC<r den Bereich des MedienG selbst die Anwendbarkeit des B' 13 Abs 4 MedienG fC<r UrteilsverC6ffentlichungen nach diesem Gesetz a. </zs_absatz> ... </zs_liste> regards Patrick Szabo XSLT-Entwickler Tel.: +43 (1) 534 52 - 1573 Fax: +43 (1) 534 52 - 146 Patrick.Szabo@xxxxxxxxxxxxx LexisNexis Verlag ARD Orac GmbH & Co KG Marxergasse 25, 1030 Wien FN 8333f, Handelsgericht Wien http://www.lexisnexis.at/ -----UrsprC<ngliche Nachricht----- Von: Martin Honnen [mailto:Martin.Honnen@xxxxxx] Gesendet: Freitag, 11. September 2009 13:18 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: Re: AW: AW: [xsl] compare attributes Szabo, Patrick (LNG-VIE) wrote: > still doensB4t work :( What exactly happens? Do you get an error? If so which one exactly for which statement? If you don't get an error but don't get the result you want then consider to provide minimal but complete samples of the XML input, the XSLT stylesheet and the output you get and the output you want so that we can reproduce the problem. > okay iB4m doing this: > > <xsl:choose> > > <xsl:when test="every $x in current-group()/zs_absatz/listenpunkt/@ilfo satisfies $x eq current-group()[1]/zs_absatz[1]/listenpunkt/@ilfo"> > <zs_liste ilfo="{current-group()[1]/listenpunkt[1]/@ilfo}"> > <xsl:apply-templates select="current-group()"/> > </zs_liste> > > </xsl:when> > > <xsl:otherwise> > > <zs_liste ilfo="ungleiche ilfos"> > <xsl:apply-templates select="current-group()"/> > </zs_liste> > > </xsl:otherwise> > > </xsl:choose> > > group looks as follows: > > <zs_absatz> > <listenpunkt ilfo="x">text steht dann hier drinne > </zs_absatz> That's not even well-formed. If current-group() gives you a sequence of zs_absatz elements then you might want <xsl:when test="every $x in current-group()/listenpunkt/@ilfo satisfies $x eq current-group()[1]/listenpunkt/@ilfo"> but that is a guess. Show us at least the for-each-group you have so that we can see the context. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: AW: AW: [xsl] compare attribute, Martin Honnen | Thread | AW: AW: AW: [xsl] compare attribute, Szabo, Patrick \(LNG |
Re: AW: AW: [xsl] compare attribute, Martin Honnen | Date | AW: AW: AW: [xsl] compare attribute, Szabo, Patrick \(LNG |
Month |