https://bugs.kde.org/show_bug.cgi?id=396211

--- Comment #4 from Robby Stephenson <ro...@periapsis.org> ---
(In reply to Joachim from comment #3)
> Hi, 
> I think the plot can be in two segments of the XML structure. I did the
> following changes in amazon2tellico.xsl: 
> 
>    <xsl:when test="$mode='Video'">
>     <plot>
>      <xsl:value-of
> select="aws:EditorialReviews/aws:EditorialReview[1]/aws:Content"/>
>     </plot>
> 
> 
> Changed it to 
> 
>    <xsl:when test="$mode='Video'">
>     <plot>
>      <xsl:value-of
> select="aws:EditorialReviews/aws:EditorialReview[2]/aws:Content"/>
>      <xsl:value-of
> select="aws:EditorialReviews/aws:EditorialReview[1]/aws:Content"/>
>     </plot>
> 
> And now I can get both plots. Is there a possibility to add e.g. linebreak
> between the two plots? I tried it with <br> but this did not help.

Try this:

    <plot>
     <xsl:if test="aws:EditorialReviews/aws:EditorialReview[2]">
      <xsl:value-of
select="aws:EditorialReviews/aws:EditorialReview[2]/aws:Content"/>
      <xsl:text>&#10;</xsl:text> <!-- newline character -->
     </xsl:if>
     <xsl:value-of
select="aws:EditorialReviews/aws:EditorialReview[1]/aws:Content"/>
    </plot>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to