Skip to content

Instantly share code, notes, and snippets.

@leenattress
Created March 4, 2016 21:31
Show Gist options
  • Save leenattress/1ff4ff37027b2c06ec37 to your computer and use it in GitHub Desktop.
Save leenattress/1ff4ff37027b2c06ec37 to your computer and use it in GitHub Desktop.
Sandwich XML First Draft
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
The Big Mac consists of two 1.6 oz (45.4 g)
100 per cent beef patties, American cheese,
"special sauce" (a variant of Thousand Island
dressing), iceberg lettuce, pickles, and
onions, served in a three-part sesame
seed bun.
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Big_Mac_hamburger.jpg/230px-Big_Mac_hamburger.jpg
-->
<sandwich weight="215g" calories="550kcal">
<bread type="bun" variation="top">Sesame Seed Bun</bread>
<filling type="vegetable" slices="3">Pickles</filling>
<filling type="meat" weight="45.4g">Beef pattie</filling>
<filling type="vegetable">Iceberg lettuce</filling>
<filling type="vegetable">Onions</filling>
<filling type="condiment" proprietary="true">Special sauce</filling>
<bread type="bun" variation="middle">Sesame seed bun</layer>
<filling type="dairy" slices="1">American cheese</filling>
<filling type="meat" weight="45.4g">beef pattie</filling>
<filling type="vegetable">Iceberg lettuce</filling>
<filling type="vegetable">Onions</filling>
<filling type="condiment" proprietary="true">Special sauce</filling>
<bread type="bun" variation="bottom">Sesame seed bun</layer>
</sandwich>
@leenattress
Copy link
Author

indentations are not nested and are only aesthetic do describe the breadly encapsulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment