XML:
<laptop category="business">
<name lang="en">HP Pavilion 15</name>
<color>Silver</color>
<processor>i5-1135G7</processor>
<price type ="pln">3200</price>
<price type ="usd">795</price>
<price type ="euro">700</price>
</laptop>
XSL:
<h2><xsl:value-of select="name"/></h2>
<p>Color: <xsl:value-of select="color"/></p>
<p>Processor: <xsl:value-of select="processor"/></p>
I want to show as above, 3 different prices in XSL based on attribute type, how can i do it? Please help.
CodePudding user response:
The question is not entirely clear.

