Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE Collection [
- <!ELEMENT Collection (Description,Recipe+)>
- <!ELEMENT Description (#PCDATA)>
- <!ELEMENT Recipe (Title,Ingredients,Preparation,Comment,Nutrients)>
- <!ELEMENT Title (#PCDATA)>
- <!ELEMENT Ingredients (Ingredient+)>
- <!ELEMENT Ingredient EMPTY>
- <!ATTLIST Ingredient name CDATA #REQUIRED>
- <!ATTLIST Ingredient qty CDATA #REQUIRED>
- <!ATTLIST Ingredient unit CDATA #REQUIRED>
- <!ELEMENT Preparation (Step+)>
- <!ELEMENT Step (#PCDATA)>
- <!ELEMENT Comment (#PCDATA)>
- <!ELEMENT Nutrients EMPTY>
- <!ATTLIST Nutrients proteins CDATA #REQUIRED>
- <!ATTLIST Nutrients carbs CDATA #REQUIRED>
- <!ATTLIST Nutrients fat CDATA #REQUIRED>
- <!ATTLIST Nutrients vitamins CDATA #REQUIRED>
- <!ATTLIST Nutrients calories CDATA #REQUIRED>
- ]>
- <Collection>
- <Description></Description>
- <Recipe>
- <Title></Title>
- <Ingredients>
- <Ingredient name="" qty="" unit=""/>
- <Ingredient name="" qty="" unit=""/>
- </Ingredients>
- <Preparation>
- <Step></Step>
- </Preparation>
- <Comment></Comment>
- <Nutrients proteins="" carbs="" fat="" vitamins="" calories=""/>
- </Recipe>
- </Collection>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement