XML Output

Below is actual XML output from the PHP of the previous post. XML is way cool. The XML shown can be generated directly from your browser with the following URL:

http://theholyscriptures.info/PHP/ZLookup_XML.php?vol=1&book=1&chapter=1&verse=1-3

<scriptures type="List" title="The Holy Scriptures" sql="">
  <volume num="1" title="Old Testament">
    <book num="1" title="Genesis" longtitle="The First Book of Moses called Genesis" chapters="50">
      <chapter num="1" title="Chapter 1 - God creates the Earth" comments="1">
        <verse id="1" num="1" mark="" score="">
          IN the beginning God created the heaven and the earth.
          <comment type="World" name="There is a God"/>
        </verse>
        <verse id="2" num="2" mark="" score="">
          And the earth was without form, and void; and darkness was upon the face of the deep.  And the Spirit of God moved upon the face of the waters.
        </verse>
        <verse id="3" num="3" mark="" score="">
          And God said, Let there be light: and there was light.
        </verse>
      </chapter>
    </book>
  </volume>
</scriptures>

Leave a Reply

Your email address will not be published. Required fields are marked *