Sunday 15 February 2015

XSLT - xsl choose -


I have a problem, I have to choose two parameters in XSL match, is there a way to get it?

For example: xsl: When test = i needs to examine two parameters, then I can check the same price but less than without ordering.

  & lt; Xsl: select & gt; & Lt; Xsl: when test = "value = 10" & amp; Amp; "Order type = 'P'" & gt; & Lt; Td bgcolor = "# ff00ff" & gt; & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: When & gt; & Lt; Xsl: when test = "value = 10" & gt; & Lt; Td bgcolor = "# cccccc" & gt; & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: When & gt; & Lt; XSL: otherwise & gt; & Lt; Td> & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: otherwise & gt; & Lt; / XSL: Select & gt;    

  & lt; Xsl: select & gt; & Lt; Xsl: when test = "price = 10 and order type = 'p'" & gt; & Lt; Td bgcolor = "# ff00ff" & gt; & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: When & gt; & Lt; Xsl: when test = "value = 10" & gt; & Lt; Td bgcolor = "# cccccc" & gt; & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: When & gt; & Lt; XSL: otherwise & gt; & Lt; Td> & Lt; Xsl: Select Value = "Artist" /> & Lt; / Td> & Lt; / XSL: otherwise & gt; & Lt; / XSL: Select & gt;    

No comments:

Post a Comment