Hi,
thanks for this great collection of useful tech doc modifications!
I right now struggle to use the "change image size" sample.
I am able to change the size attribute. But the image size doesn´t change.
I assume the following part in the "Size Style Settings" stylesheet is responsible for changing the Graphic size:
.Graphic
{
width: var(width);
}
Styling works when I use a hardcoded size, like 100px. But the variable itself doesn´t work. Is var(width) really correct? Cause the attribute itself is named "style" in your sample:
<xs:element name="Graphic">
xs:complexType
xs:complexContent
<xs:extension base="aras:imageType">
<xs:attribute name="style" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
I already changed the name of the variable, but I weren´t succeesful yet to change the image size this way.
Hi,
thanks for this great collection of useful tech doc modifications!
I right now struggle to use the "change image size" sample.
I am able to change the size attribute. But the image size doesn´t change.
I assume the following part in the "Size Style Settings" stylesheet is responsible for changing the Graphic size:
.Graphic
{
width: var(width);
}
Styling works when I use a hardcoded size, like 100px. But the variable itself doesn´t work. Is var(width) really correct? Cause the attribute itself is named "style" in your sample:
<xs:element name="Graphic">
xs:complexType
xs:complexContent
<xs:extension base="aras:imageType">
<xs:attribute name="style" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
I already changed the name of the variable, but I weren´t succeesful yet to change the image size this way.