| | --> |
| | |
| | - <var-def name="store_code"> |
| | - <xpath expression="//select[@id='store_select']/option/@value"> |
| | - <html-to-xml outputtype="pretty" id="store_page"> |
| | - <http method="get" url="${vendor_url}" id="vendor_url"> |
| | + <var-def name="store_code" id="store_code"> |
| | + <xpath expression="(//select[@id='store_select']/option/@value)[1]"> |
| | + <html-to-xml> |
| | + <http method="get" url="${vendor_url}"> |
| | <http-param name="type">1</http-param> |
| | - <http-param name="postal_code" id="postal_code"><var name="location_code"/></http-param> |
| | + <http-param name="postal_code"><var name="location_code"/></http-param> |
| | </http> |
| | </html-to-xml> |
| | </xpath> |
| | </var-def> |
| | |
| | -<!-- |
| | - <var-def name="flyer_page"> |
| | - <html-to-xml outputtype="pretty" prunetags="script"> |
| | - <http method="get" url="${vendor_url}?${store_code}"> |
| | - <http-param name="postal_code"> |
| | - <var name="location_code"/> |
| | - </http-param> |
| | + <var-def name="flyer_page" id="flyer_page"> |
| | + <html-to-xml> |
| | + <http method="get" url="${vendor_url}"> |
| | + <http-param name="store_code"><var name="store_code"/></http-param> |
| | </http> |
| | </html-to-xml> |
| | </var-def> |
| | ---> |
| | |
| | <var-def name="message_body"> |