-
Notifications
You must be signed in to change notification settings - Fork 102
Krona 2.0 XML Specification
Marc Rübsam edited this page Dec 13, 2024
·
6 revisions
<krona>
<attributes magnitude="grams">
<attribute display="Grams">grams</attribute>
<attribute display="% Daily Value">dva</attribute>
</attributes>
<color attribute="grams" valueStart="0" valueEnd="39" hueStart="120" hueEnd="240"></color>
<datasets>
<dataset>Brand X</dataset>
<dataset>Brand Y</dataset>
</datasets>
<node name="Granola serving">
<grams><val>55</val><val>55</val></grams>
<node name="Protein">
<grams><val>5</val><val>6</val></grams>
</node>
<node name="Carbohydrates">
<grams><val>39</val><val>41</val></grams>
<dva><val>13</val><val>14</val></dva>
<node name="Sugars">
<grams><val>3</val><val>5</val></grams>
</node>
<node name="Dietary fiber">
<grams><val>4</val><val>8</val></grams>
<dva><val>16</val><val>32</val></dva>
</node>
</node>
<node name="Fats">
<grams><val>8</val><val>7</val></grams>
<dva><val>12</val><val>9</val></dva>
<node name="Saturated fat">
<grams><val>2</val><val>1</val></grams>
<dva><val>10</val><val>5</val></dva>
</node>
<node name="Unsaturated fat">
<grams><val>6</val><val>6</val></grams>
<node name="Polyunsaturated fat">
<grams><val>3</val><val>4</val></grams>
</node>
<node name="Monounsaturated fat">
<grams><val>3</val><val>2</val></grams>
</node>
</node>
</node>
</node>
</krona>