xslt concat with select inside for-each -
Can I select a conset within XSLT? For example
& lt; Xsl: each selection = "root / order items / lineitum" & gt; & Lt; Xsl: element name = "img" & gt; & Lt; Xsl: attribute name = "src" & gt; & Lt; Xsl: Select the value = "concat ('http://www.site.com/r&h=11', '& amp; q =', & lt; xsl: select the value = "Quantity" />,) "/> & Lt; / XSL: Specialty & gt; & Lt; / XSL: element & gt; & Lt; / XSL: for-each & gt;
Try it out:
& lt; Xsl: each selection = "root / order item / line item" & gt; & Lt; Xsl: element name = "img" & gt; & Lt; Xsl: attribute name = "src" & gt; & Lt; Xsl: Select value = "concat ('http://www.site.com/r&h=11', 'and amp; q =', quantity)" /> & Lt; / XSL: Specialty & gt; & Lt; / XSL: element & gt; & Lt; / XSL: for-each & gt;
Comments
Post a Comment