Subject: [xsl] variable definition reuse From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx> Date: Fri, 22 Mar 2002 12:25:51 +0000 |
i have got a doubt.. this is regarding making my XSL sheet more reusable. i have got an xml file that looks like:
<ProductList> <product id = "1"> <color>red</color> <weight>23</weight> <cost>150</cost> <acceptance>90</acceptance> <mnf-date>20032001</mnf-date> <exp-date>20032002</exp-date> <lable-design>XYZ</lable-design> <mkt-agncy>ABC</mkt-agncy> <serial-id>11111</serial-id> <order-qty>90</order-qty> <re-order-level>10</re-order-level> </product> <product is = "2"> <color>blue</color> <weight>25</weight> <cost>150</cost> <acceptance>80</acceptance> <mnf-date>20032001</mnf-date> <exp-date>20032002</exp-date> <lable-design>ZZ</lable-design> <mkt-agncy>AA</mkt-agncy> <serial-id>22222</serial-id> <order-qty>70</order-qty> <re-order-level>10</re-order-level> </product> <product> <product id = "3"> <color>yellow</color> <weight>30</weight> <cost>200</cost> <acceptance>50</acceptance> <mnf-date>20032001</mnf-date> <exp-date>20032002</exp-date> <lable-design>PQR</lable-design> <mkt-agncy>ABC</mkt-agncy> <serial-id>33333</serial-id> <order-qty>50</order-qty> <re-order-level>10</re-order-level> </product> <product> </ProductList>
cheers laura
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] templates with optional p, Michael Kay | Thread | Re: [xsl] variable definition reuse, David Carlisle |
Re: [xsl] XML parsers performance, Daniel Veillard | Date | Re: [xsl] variable definition reuse, David Carlisle |
Month |