Discover Global Spices with Eurospice: Your Source for Exotic Flavors
30 likes | 163 Views
Eurospice brings the world's spices to your table, offering a diverse selection from every corner of the globe. Explore our extensive range of ingredients and enhance your culinary adventures. Our platform features an easy-to-navigate interface where you can browse through our available spices. We provide detailed information including stock levels and pricing, all accessible via our XML and ASP.NET-based system. Immerse yourself in the rich flavors of spices with Eurospice and elevate your cooking experience.
Discover Global Spices with Eurospice: Your Source for Exotic Flavors
E N D
Presentation Transcript
eurospice Eur spice Wir liefern Gewürze aus aller Welt, zu den Menschen in aller Welt schnuppern Sie in unser Angebot XML mit Servlet XML mit ASP.NET Datenbank mit Servlet Datenbank mit ASP.NET
Transformer Warenbestandsabfrage mit XML und ASP.Net XML-Document: Bsp.: ... <sp:artikel> <sp:name>Senf</sp:name> <sp:bestand>10</sp:bestand> <sp:preis>25</sp:preis> <sp:waehrung>€</sp:waehrung> </sp:artikel> ... XSL ... <xsl:for-each select="sp:artikel"> <tr> <td><xsl:value-of select="sp:name"/></td> <td><xsl:value-of select="sp:bestand"/></td> <td><xsl:value-of select="sp:preis"/></td> <td><xsl:value-of select="sp:waehrung"/></td> </tr> </xsl:for-each> ... Ausschnitt aus dem ASP-Quellcode ... XmlDocument docXml = new XmlDocument(); docXml.Load(Server.MapPath("lager1.xml")); XslTransform docXsl = new XslTransform(); docXsl.Load(Server.MapPath("lager1.xsl")); docXsl.Transform(docXml,null,Response.Output); ... Response ...