[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/util/xml/parser/tests/fixtures/ -> test4.xml (source)

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <activity id="1" moduleid="5" modulename="glossary" contextid="26">
   3    <glossary id="1">
   4      <name>One glossary</name>
   5      <intro>&lt;p&gt;One simple glossary to test backup &amp;amp; restore. Here it's the standard image:&lt;/p&gt;
   6  &lt;p&gt;&lt;img src="@@PLUGINFILE@@/88_31.png" alt="pwd by moodle" width="88" height="31" /&gt;&lt;/p&gt;</intro>
   7      <allowduplicatedentries>0</allowduplicatedentries>
   8      <displayformat>dictionary</displayformat>
   9      <mainglossary>0</mainglossary>
  10      <showspecial>1</showspecial>
  11      <showalphabet>1</showalphabet>
  12      <showall>1</showall>
  13      <allowcomments>0</allowcomments>
  14      <allowprintview>1</allowprintview>
  15      <usedynalink>1</usedynalink>
  16      <defaultapproval>1</defaultapproval>
  17      <globalglossary>0</globalglossary>
  18      <entbypage>10</entbypage>
  19      <editalways>0</editalways>
  20      <rsstype>0</rsstype>
  21      <rssarticles>0</rssarticles>
  22      <assessed>1</assessed>
  23      <assesstimestart>0</assesstimestart>
  24      <assesstimefinish>0</assesstimefinish>
  25      <scale>10</scale>
  26      <timecreated>1275638215</timecreated>
  27      <timemodified>1275639747</timemodified>
  28      <entries>
  29        <entry id="1">
  30          <userid>2</userid>
  31          <concept>dog</concept>
  32          <definition>&lt;p&gt;Traditional enemies of cats&lt;/p&gt;</definition>
  33          <definitionformat>1</definitionformat>
  34          <definitiontrust>0</definitiontrust>
  35          <attachment></attachment>
  36          <timecreated>1275638279</timecreated>
  37          <timemodified>1275638279</timemodified>
  38          <teacherentry>1</teacherentry>
  39          <sourceglossaryid>0</sourceglossaryid>
  40          <usedynalink>1</usedynalink>
  41          <casesensitive>0</casesensitive>
  42          <fullmatch>0</fullmatch>
  43          <approved>1</approved>
  44          <aliases>
  45            <alias id="1">
  46              <alias_text>dogs</alias_text>
  47            </alias>
  48          </aliases>
  49          <ratings>
  50            <rating id="2">
  51              <scaleid>10</scaleid>
  52              <value>6</value>
  53              <userid>5</userid>
  54              <timecreated>1275639785</timecreated>
  55              <timemodified>1275639797</timemodified>
  56            </rating>
  57          </ratings>
  58        </entry>
  59        <entry id="2">
  60          <userid>2</userid>
  61          <concept>cat</concept>
  62          <definition>&lt;p&gt;traditional enemies of dogs&lt;/p&gt;</definition>
  63          <definitionformat>1</definitionformat>
  64          <definitiontrust>0</definitiontrust>
  65          <attachment></attachment>
  66          <timecreated>1275638304</timecreated>
  67          <timemodified>1275638304</timemodified>
  68          <teacherentry>1</teacherentry>
  69          <sourceglossaryid>0</sourceglossaryid>
  70          <usedynalink>1</usedynalink>
  71          <casesensitive>0</casesensitive>
  72          <fullmatch>0</fullmatch>
  73          <approved>1</approved>
  74          <aliases>
  75            <alias id="2">
  76              <alias_text>cats</alias_text>
  77            </alias>
  78            <alias id="3">
  79              <alias_text>felines</alias_text>
  80            </alias>
  81          </aliases>
  82          <ratings>
  83            <rating id="1">
  84              <scaleid>10</scaleid>
  85              <value>5</value>
  86              <userid>5</userid>
  87              <timecreated>1275639779</timecreated>
  88              <timemodified>1275639779</timemodified>
  89            </rating>
  90          </ratings>
  91        </entry>
  92      </entries>
  93      <categories>
  94      </categories>
  95      <onetest>
  96        <name>1</name>
  97        <value>1</value>
  98      </onetest>
  99      <onetest>
 100        <name>2</name>
 101        <value>2</value>
 102      </onetest>
 103      <othertest>
 104        <name>3</name>
 105        <value>3</value>
 106        <name>4</name><!-- Only last will be processed. We don't allow repeated final tags in our parser -->
 107        <value>4</value>
 108        <value>5</value><!-- Only last will be processed. We don't allow repeated final tags in our parser -->
 109        <value>
 110  
 111        </value><!-- If one tag already is set and the repeated is empty, the original value is kept -->
 112      </othertest>
 113    </glossary>
 114  </activity>


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1