<@pp.dropOutputFile /> <#list prodXml.products.product as p> <@pp.changeOutputFile name="product_${p.@id}.html" /> <#escape x as x?html> ${p.name}

${p.name}

Price: $${p.price}

Description:
${p.description}

Manufacturer:
Name: ${p.manufacturer} <#assign m = manuXml.manufacturers['manufacturer[name="${p.manufacturer}"]']> <#if m?has_content> <#if m.address?has_content>
Address: ${m.address} <#if m.phone?has_content>
Phone: ${m.phone} <#if m.homepage?has_content>
Homepage: ${m.homepage} <#if m.email?has_content>
Email: ${m.email} <#else> <@pp.warning message="Referenced manufacturer not found: ${p.manufacturer}" />


Back...