xsl: Bildhöhe/-breite hinzugefügt
This commit is contained in:
parent
84c438d944
commit
63a3089a72
|
@ -157,6 +157,8 @@
|
||||||
<xs:attribute name="title" type="xs:string" use="required"/>
|
<xs:attribute name="title" type="xs:string" use="required"/>
|
||||||
<xs:attribute name="class" type="xs:string" use="optional"/>
|
<xs:attribute name="class" type="xs:string" use="optional"/>
|
||||||
<xs:attribute name="thumb" type="xs:string" use="optional"/>
|
<xs:attribute name="thumb" type="xs:string" use="optional"/>
|
||||||
|
<xs:attribute name="width" type="xs:string" use="optional"/>
|
||||||
|
<xs:attribute name="height" type="xs:string" use="optional"/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
|
|
|
@ -236,6 +236,14 @@
|
||||||
|
|
||||||
<xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
|
<xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
|
||||||
<xsl:attribute name="alt"><xsl:value-of select="@title"/></xsl:attribute>
|
<xsl:attribute name="alt"><xsl:value-of select="@title"/></xsl:attribute>
|
||||||
|
|
||||||
|
<xsl:if test="@height">
|
||||||
|
<xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="@width">
|
||||||
|
<xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<!-- News-Items haben ihre Bilder abwechselnd rechts und links... -->
|
<!-- News-Items haben ihre Bilder abwechselnd rechts und links... -->
|
||||||
<xsl:attribute name="class">
|
<xsl:attribute name="class">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
|
Loading…
Reference in New Issue