04.02.2013 Views

Spry User Guide - Support - Adobe

Spry User Guide - Support - Adobe

Spry User Guide - Support - Adobe

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

<br />

Summer Salad<br />

organic butter lettuce with apples, blood oranges, gorgonzola, and<br />

raspberry vinaigrette.<br />

7<br />

summersalad.xml<br />

<br />

<br />

Thai Noodle Salad<br />

lightly sauteed in sesame oil with baby bok choi, portobello mushrooms,<br />

and scallions.<br />

8<br />

thainoodles.xml<br />

<br />

<br />

Grilled Pacific Salmon<br />

served with new potatoes, diced beets, Italian parlsey, and lemon<br />

zest.<br />

16<br />

salmon.xml<br />

<br />

<br />

Note: This XML sample code is different from the code used in “<strong>Spry</strong> XML Data Set basic overview” on page 91.<br />

SPRY<br />

<strong>User</strong> <strong>Guide</strong><br />

The cafetownsend.xml file supplies the data for the master data set. The url node of the cafetownsend.xml file points<br />

to a unique XML file (or URL) for each menu item. These unique XML files contain a list of ingredients for the corresponding<br />

menu items. The summersalad.xml file, for example, might look as follows:<br />

<br />

<br />

Summer salad<br />

<br />

<br />

butter lettuce<br />

<br />

<br />

Macintosh apples<br />

<br />

<br />

Blood oranges<br />

<br />

<br />

Gorgonzola cheese<br />

<br />

<br />

raspberries<br />

<br />

<br />

Extra virgin olive oil<br />

<br />

105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!