kjdotxml 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
 - checksums.yaml.gz.sig +0 -0
 - data/lib/kjdotxml.rb +108 -0
 - data/xml/1-chronicles.xml +1002 -0
 - data/xml/1-corinthians.xml +471 -0
 - data/xml/1-john.xml +117 -0
 - data/xml/1-kings.xml +862 -0
 - data/xml/1-peter.xml +117 -0
 - data/xml/1-samuel.xml +874 -0
 - data/xml/1-thessalonians.xml +101 -0
 - data/xml/1-timothy.xml +127 -0
 - data/xml/2-chronicles.xml +896 -0
 - data/xml/2-corinthians.xml +285 -0
 - data/xml/2-john.xml +17 -0
 - data/xml/2-kings.xml +771 -0
 - data/xml/2-peter.xml +69 -0
 - data/xml/2-samuel.xml +745 -0
 - data/xml/2-thessalonians.xml +55 -0
 - data/xml/2-timothy.xml +93 -0
 - data/xml/3-john.xml +18 -0
 - data/xml/acts.xml +1065 -0
 - data/xml/amos.xml +166 -0
 - data/xml/colossians.xml +105 -0
 - data/xml/daniel.xml +383 -0
 - data/xml/deuteronomy.xml +1029 -0
 - data/xml/ecclesiastes.xml +248 -0
 - data/xml/ephesians.xml +169 -0
 - data/xml/esther.xml +189 -0
 - data/xml/exodus.xml +1295 -0
 - data/xml/ezekiel.xml +1371 -0
 - data/xml/ezra.xml +302 -0
 - data/xml/galatians.xml +163 -0
 - data/xml/genesis.xml +1635 -0
 - data/xml/habakkuk.xml +64 -0
 - data/xml/haggai.xml +44 -0
 - data/xml/hebrews.xml +331 -0
 - data/xml/hosea.xml +227 -0
 - data/xml/isaiah.xml +1426 -0
 - data/xml/james.xml +120 -0
 - data/xml/jeremiah.xml +1470 -0
 - data/xml/job.xml +1156 -0
 - data/xml/joel.xml +81 -0
 - data/xml/john.xml +923 -0
 - data/xml/jonah.xml +58 -0
 - data/xml/joshua.xml +708 -0
 - data/xml/jude.xml +29 -0
 - data/xml/judges.xml +662 -0
 - data/xml/lamentations.xml +166 -0
 - data/xml/leviticus.xml +915 -0
 - data/xml/luke.xml +1201 -0
 - data/xml/malachi.xml +65 -0
 - data/xml/mark.xml +712 -0
 - data/xml/matthew.xml +1129 -0
 - data/xml/micah.xml +121 -0
 - data/xml/nahum.xml +55 -0
 - data/xml/nehemiah.xml +434 -0
 - data/xml/numbers.xml +1362 -0
 - data/xml/obadiah.xml +25 -0
 - data/xml/philemon.xml +29 -0
 - data/xml/philippians.xml +114 -0
 - data/xml/proverbs.xml +979 -0
 - data/xml/psalms.xml +2763 -0
 - data/xml/revelation.xml +450 -0
 - data/xml/romans.xml +467 -0
 - data/xml/ruth.xml +95 -0
 - data/xml/song-of-solomon.xml +135 -0
 - data/xml/td.xml +433 -0
 - data/xml/titus.xml +54 -0
 - data/xml/zechariah.xml +241 -0
 - data/xml/zephaniah.xml +61 -0
 - data.tar.gz.sig +2 -0
 - metadata +158 -0
 - metadata.gz.sig +0 -0
 
    
        data/xml/td.xml
    ADDED
    
    | 
         @@ -0,0 +1,433 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <tests>
         
     | 
| 
      
 2 
     | 
    
         
            +
              <summary>
         
     | 
| 
      
 3 
     | 
    
         
            +
                <title>rexleparser testdata</title>
         
     | 
| 
      
 4 
     | 
    
         
            +
                <recordx_type>polyrex</recordx_type>
         
     | 
| 
      
 5 
     | 
    
         
            +
                <schema>tests/test[path,description]/io[type,*]</schema>
         
     | 
| 
      
 6 
     | 
    
         
            +
                <ruby_version>ruby 2.2.0preview1 (2014-09-17 trunk 47616) [x86_64-linux]</ruby_version>
         
     | 
| 
      
 7 
     | 
    
         
            +
                <script>//job:test http://a0.jamesrobertson.me.uk/rorb/r/gemtest/rexleparser.rsf</script>
         
     | 
| 
      
 8 
     | 
    
         
            +
                <test_dir>/home/james/jamesrobertson.me.uk/test-ruby/rexleparser</test_dir>    
         
     | 
| 
      
 9 
     | 
    
         
            +
              </summary>
         
     | 
| 
      
 10 
     | 
    
         
            +
              <records>
         
     | 
| 
      
 11 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 12 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    <path>1</path>
         
     | 
| 
      
 14 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 15 
     | 
    
         
            +
                    <description>simple test</description>
         
     | 
| 
      
 16 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 17 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 18 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 19 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 20 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 21 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 22 
     | 
    
         
            +
            <abc2><a>apple<ggg>444</ggg></a></abc2>
         
     | 
| 
      
 23 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 24 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 25 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 26 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 27 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 28 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 29 
     | 
    
         
            +
                        <value>["abc2", {}, ["a", {}, "apple", ["ggg", {}, "444"]]]</value>
         
     | 
| 
      
 30 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 31 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 32 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 33 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 34 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 35 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 36 
     | 
    
         
            +
                    <path>2</path>
         
     | 
| 
      
 37 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 38 
     | 
    
         
            +
                    <description>string after nested tag</description>
         
     | 
| 
      
 39 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 40 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 41 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 42 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 43 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 44 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 45 
     | 
    
         
            +
            <abc><a>apple<ggg>444</ggg>orange</a></abc>
         
     | 
| 
      
 46 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 47 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 48 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 49 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 50 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 51 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 52 
     | 
    
         
            +
                        <value>["abc", {}, ["a", {}, "apple", ["ggg", {}, "444"], "orange"]]</value>
         
     | 
| 
      
 53 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 55 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 56 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 57 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 58 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 59 
     | 
    
         
            +
                    <path>3</path>
         
     | 
| 
      
 60 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 61 
     | 
    
         
            +
                    <description>newline character between elements</description>
         
     | 
| 
      
 62 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 63 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 64 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 65 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 66 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 67 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 68 
     | 
    
         
            +
            <root>
         
     | 
| 
      
 69 
     | 
    
         
            +
              <abc>Testing rightly or wrongly</abc>
         
     | 
| 
      
 70 
     | 
    
         
            +
              <c><fun>this should be fun with the music from the magic roundabout playing in the background</fun></c>
         
     | 
| 
      
 71 
     | 
    
         
            +
            </root>
         
     | 
| 
      
 72 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 73 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 74 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 75 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 76 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 77 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 78 
     | 
    
         
            +
                        <value>["root", {}, "\n  ", ["abc", {}, "Testing rightly or wrongly"], "\n  ", ["c", {}, ["fun", {}, "this should be fun with the music from the magic roundabout playing in the background"]], "\n"]</value>
         
     | 
| 
      
 79 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 80 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 81 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 82 
     | 
    
         
            +
                </test>        
         
     | 
| 
      
 83 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 84 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 85 
     | 
    
         
            +
                    <path>4</path>
         
     | 
| 
      
 86 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 87 
     | 
    
         
            +
                    <description>commented tag</description>
         
     | 
| 
      
 88 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 89 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 90 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 91 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 92 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 93 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 94 
     | 
    
         
            +
            <a><!--<b>123</b>--><b2>456</b2></a>
         
     | 
| 
      
 95 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 96 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 97 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 98 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 99 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 100 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 101 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 102 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 103 
     | 
    
         
            +
            ["a", {}, ["!-", {}, "<b>123</b>"], ["b2", {}, "456"]]
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 106 
     | 
    
         
            +
                        </value>
         
     | 
| 
      
 107 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 108 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 109 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 110 
     | 
    
         
            +
                </test>         
         
     | 
| 
      
 111 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 112 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 113 
     | 
    
         
            +
                    <path>5</path>
         
     | 
| 
      
 114 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 115 
     | 
    
         
            +
                    <description>text after an element</description>
         
     | 
| 
      
 116 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 117 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 118 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 119 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 120 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 121 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 122 
     | 
    
         
            +
                            <abc><a>apple<ggg>444</ggg>orange</a></abc>
         
     | 
| 
      
 123 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 124 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 125 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 126 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 127 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 128 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 129 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 130 
     | 
    
         
            +
                    <![CDATA[
         
     | 
| 
      
 131 
     | 
    
         
            +
            ["abc", {}, ["a", {}, "apple", ["ggg", {}, "444"], "orange"]]
         
     | 
| 
      
 132 
     | 
    
         
            +
                    ]]>
         
     | 
| 
      
 133 
     | 
    
         
            +
                  </value>
         
     | 
| 
      
 134 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 135 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 136 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 137 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 138 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 139 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 140 
     | 
    
         
            +
                    <path>6</path>
         
     | 
| 
      
 141 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 142 
     | 
    
         
            +
                    <description>an angle bracket inside an element value</description>
         
     | 
| 
      
 143 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 144 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 145 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 146 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 147 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 148 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 149 
     | 
    
         
            +
            <a>push->pin2</a>
         
     | 
| 
      
 150 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 151 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 152 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 153 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 154 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 155 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 156 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 157 
     | 
    
         
            +
                    <![CDATA[
         
     | 
| 
      
 158 
     | 
    
         
            +
            ["a", {}, "push-&gt;", "pin2"]
         
     | 
| 
      
 159 
     | 
    
         
            +
                    ]]>
         
     | 
| 
      
 160 
     | 
    
         
            +
                  </value>
         
     | 
| 
      
 161 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 162 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 163 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 164 
     | 
    
         
            +
                </test>   
         
     | 
| 
      
 165 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 166 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 167 
     | 
    
         
            +
                    <path>7</path>
         
     | 
| 
      
 168 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 169 
     | 
    
         
            +
                    <description>contains node attributes</description>
         
     | 
| 
      
 170 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 171 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 172 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 173 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 174 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 175 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 176 
     | 
    
         
            +
            <abc><a>apple<ggg>444</ggg></a></abc>
         
     | 
| 
      
 177 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 178 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 179 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 180 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 181 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 182 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 183 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 184 
     | 
    
         
            +
                          ["abc", {}, ["a", {}, "apple", ["ggg", {}, "444"]]]
         
     | 
| 
      
 185 
     | 
    
         
            +
                        </value>
         
     | 
| 
      
 186 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 187 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 188 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 189 
     | 
    
         
            +
                </test>    
         
     | 
| 
      
 190 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 191 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 192 
     | 
    
         
            +
                    <path>8</path>
         
     | 
| 
      
 193 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 194 
     | 
    
         
            +
                    <description>contains a comment in a new line</description>
         
     | 
| 
      
 195 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 196 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 197 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 198 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 199 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 200 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 201 
     | 
    
         
            +
            <a>
         
     | 
| 
      
 202 
     | 
    
         
            +
            <!-- 123 -->
         
     | 
| 
      
 203 
     | 
    
         
            +
            </a>
         
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
      
 205 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 206 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 207 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 208 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 209 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 210 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 211 
     | 
    
         
            +
                        <value>["a", {}, "\n", ["!-", {}, " 123 "], "\n"]</value>
         
     | 
| 
      
 212 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 213 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 214 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 215 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 216 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 217 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 218 
     | 
    
         
            +
                    <path>9</path>
         
     | 
| 
      
 219 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 220 
     | 
    
         
            +
                    <description>contains a comment in a new line</description>
         
     | 
| 
      
 221 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 222 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 223 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 224 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 225 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 226 
     | 
    
         
            +
            <root><apple><![CDATA[\n    123 ]]></apple></root>
         
     | 
| 
      
 227 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 228 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 229 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 230 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 231 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 232 
     | 
    
         
            +
                        <value>["root", {}, ["apple", {}, ["![", {}, "\\n    123 "]]]</value>
         
     | 
| 
      
 233 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 234 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 235 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 236 
     | 
    
         
            +
                </test>    
         
     | 
| 
      
 237 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 238 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 239 
     | 
    
         
            +
                    <path>10</path>
         
     | 
| 
      
 240 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 241 
     | 
    
         
            +
                    <description>tags within CDATA in the context of new line characters should be ignore</description>
         
     | 
| 
      
 242 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 243 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 244 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 245 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 246 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 247 
     | 
    
         
            +
            <package>
         
     | 
| 
      
 248 
     | 
    
         
            +
            <![CDATA[   
         
     | 
| 
      
 249 
     | 
    
         
            +
              w</job>"
         
     | 
| 
      
 250 
     | 
    
         
            +
              ]]>
         
     | 
| 
      
 251 
     | 
    
         
            +
            </package>
         
     | 
| 
      
 252 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 253 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 254 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 255 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 256 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 257 
     | 
    
         
            +
                        <value>["package", {}, "\n", ["![", {}, "   \n  w</job>\"\n  "], "\n"]</value>
         
     | 
| 
      
 258 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 259 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 260 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 261 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 262 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 263 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 264 
     | 
    
         
            +
                    <path>11</path>
         
     | 
| 
      
 265 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 266 
     | 
    
         
            +
                    <description></description>
         
     | 
| 
      
 267 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 268 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 269 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 270 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 271 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 272 
     | 
    
         
            +
            <root>
         
     | 
| 
      
 273 
     | 
    
         
            +
              <apple>
         
     | 
| 
      
 274 
     | 
    
         
            +
                <![CDATA[
         
     | 
| 
      
 275 
     | 
    
         
            +
                123
         
     | 
| 
      
 276 
     | 
    
         
            +
                ]]>
         
     | 
| 
      
 277 
     | 
    
         
            +
              </apple>
         
     | 
| 
      
 278 
     | 
    
         
            +
            </root>
         
     | 
| 
      
 279 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 280 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 281 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 282 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 283 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 284 
     | 
    
         
            +
                        <value>["root", {}, "\n  ", ["apple", {}, "\n    ", ["![", {}, "\n    123\n    "], "\n  "], "\n"]</value>
         
     | 
| 
      
 285 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 286 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 287 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 288 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 289 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 290 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 291 
     | 
    
         
            +
                    <path>12</path>
         
     | 
| 
      
 292 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 293 
     | 
    
         
            +
                    <description></description>
         
     | 
| 
      
 294 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 295 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 296 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 297 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 298 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 299 
     | 
    
         
            +
             
     | 
| 
      
 300 
     | 
    
         
            +
            <?xml version='1.0' encoding='UTF-8'?><root><cake>carrot</cake><biscuit>chocolate</biscuit><pie>lemon</pie></root>
         
     | 
| 
      
 301 
     | 
    
         
            +
             
     | 
| 
      
 302 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 303 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 304 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 305 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 306 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 307 
     | 
    
         
            +
                        <value>["root", {}, ["cake", {}, "carrot"], ["biscuit", {}, "chocolate"], ["pie", {}, "lemon"]]</value>
         
     | 
| 
      
 308 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 309 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 310 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 311 
     | 
    
         
            +
                </test>       
         
     | 
| 
      
 312 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 313 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 314 
     | 
    
         
            +
                    <path>13</path>
         
     | 
| 
      
 315 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 316 
     | 
    
         
            +
                    <description></description>
         
     | 
| 
      
 317 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 318 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 319 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 320 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 321 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 322 
     | 
    
         
            +
            <![CDATA[
         
     | 
| 
      
 323 
     | 
    
         
            +
            <?xml version="1.0" encoding="UTF-8"?>
         
     | 
| 
      
 324 
     | 
    
         
            +
            <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
         
     | 
| 
      
 325 
     | 
    
         
            +
             
     | 
| 
      
 326 
     | 
    
         
            +
            <xsl:template match="*">
         
     | 
| 
      
 327 
     | 
    
         
            +
              <html>
         
     | 
| 
      
 328 
     | 
    
         
            +
                <head>
         
     | 
| 
      
 329 
     | 
    
         
            +
                <!--<link rel='stylesheet' type='text/css' href='http://a0.jamesrobertson.me.uk/dynarex/layout.css' media='screen, projection, tv, print'></link>-->
         
     | 
| 
      
 330 
     | 
    
         
            +
                <xsl:choose>
         
     | 
| 
      
 331 
     | 
    
         
            +
                  <xsl:when test="summary/css">
         
     | 
| 
      
 332 
     | 
    
         
            +
                <link rel='stylesheet' type='text/css' href='http://a0.jamesrobertson.me.uk/{summary/css}' media='screen, projection, tv, print'></link>
         
     | 
| 
      
 333 
     | 
    
         
            +
             
     | 
| 
      
 334 
     | 
    
         
            +
                  </xsl:when>    
         
     | 
| 
      
 335 
     | 
    
         
            +
                  <xsl:otherwise>
         
     | 
| 
      
 336 
     | 
    
         
            +
                <link rel='stylesheet' type='text/css' href='http://a0.jamesrobertson.me.uk/css/dynarex-c.css' media='screen, projection, tv, print'></link>
         
     | 
| 
      
 337 
     | 
    
         
            +
                  </xsl:otherwise>
         
     | 
| 
      
 338 
     | 
    
         
            +
                </xsl:choose>
         
     | 
| 
      
 339 
     | 
    
         
            +
                </head>
         
     | 
| 
      
 340 
     | 
    
         
            +
              </html>
         
     | 
| 
      
 341 
     | 
    
         
            +
            </xsl:template>
         
     | 
| 
      
 342 
     | 
    
         
            +
            </xsl:stylesheet>
         
     | 
| 
      
 343 
     | 
    
         
            +
             
     | 
| 
      
 344 
     | 
    
         
            +
             
     | 
| 
      
 345 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 346 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 347 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 348 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 349 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 350 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 351 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 352 
     | 
    
         
            +
            ["xsl:stylesheet", {:"xmlns:xsl"=>"http://www.w3.org/1999/XSL/Transform", :version=>"1.0"}, "\n\n", ["xsl:template", {:match=>"*"}, "\n  ", ["html", {}, "\n    ", ["head", {}, "\n    ", ["!-", {}, "<link rel='stylesheet' type='text/css' href='http://a0.jamesrobertson.me.uk/dynarex/layout.css' media='screen, projection, tv, print'></link>"], "\n    ", ["xsl:choose", {}, "\n      ", ["xsl:when", {:test=>"summary/css"}, "\n    ", ["link", {:rel=>"stylesheet", :type=>"text/css", :href=>"http://a0.jamesrobertson.me.uk/{summary/css}", :media=>"screen, projection, tv, print"}], "\n\n      "], "    \n      ", ["xsl:otherwise", {}, "\n    ", ["link", {:rel=>"stylesheet", :type=>"text/css", :href=>"http://a0.jamesrobertson.me.uk/css/dynarex-c.css", :media=>"screen, projection, tv, print"}], "\n      "], "\n    "], "\n    "], "\n  "], "\n"], "\n"]              
         
     | 
| 
      
 353 
     | 
    
         
            +
              ]]>
         
     | 
| 
      
 354 
     | 
    
         
            +
                          </value>
         
     | 
| 
      
 355 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 356 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 357 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 358 
     | 
    
         
            +
                </test>
         
     | 
| 
      
 359 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 360 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 361 
     | 
    
         
            +
                    <path>14</path>
         
     | 
| 
      
 362 
     | 
    
         
            +
                    <type>unescape to_a only</type>
         
     | 
| 
      
 363 
     | 
    
         
            +
                    <description></description>
         
     | 
| 
      
 364 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 365 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 366 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 367 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 368 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 369 
     | 
    
         
            +
             <package>
         
     | 
| 
      
 370 
     | 
    
         
            +
              <job id='create_html'>
         
     | 
| 
      
 371 
     | 
    
         
            +
                <script>
         
     | 
| 
      
 372 
     | 
    
         
            +
            <![CDATA[
         
     | 
| 
      
 373 
     | 
    
         
            +
             
     | 
| 
      
 374 
     | 
    
         
            +
             
     | 
| 
      
 375 
     | 
    
         
            +
            buffer =<<HTML
         
     | 
| 
      
 376 
     | 
    
         
            +
            <?xml version='1.0' encoding='UTF-8'?>
         
     | 
| 
      
 377 
     | 
    
         
            +
            <html lang="en">
         
     | 
| 
      
 378 
     | 
    
         
            +
            <head>
         
     | 
| 
      
 379 
     | 
    
         
            +
              <meta charset="utf-8"/>
         
     | 
| 
      
 380 
     | 
    
         
            +
              <title>The HTML5 template</title>
         
     | 
| 
      
 381 
     | 
    
         
            +
            </head>
         
     | 
| 
      
 382 
     | 
    
         
            +
            <body>
         
     | 
| 
      
 383 
     | 
    
         
            +
             
     | 
| 
      
 384 
     | 
    
         
            +
            </body>
         
     | 
| 
      
 385 
     | 
    
         
            +
            </html>
         
     | 
| 
      
 386 
     | 
    
         
            +
            HTML
         
     | 
| 
      
 387 
     | 
    
         
            +
             
     | 
| 
      
 388 
     | 
    
         
            +
            ]]>
         
     | 
| 
      
 389 
     | 
    
         
            +
                </script>
         
     | 
| 
      
 390 
     | 
    
         
            +
              </job>
         
     | 
| 
      
 391 
     | 
    
         
            +
            </package>
         
     | 
| 
      
 392 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 393 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 394 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 395 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 396 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 397 
     | 
    
         
            +
                        <value>
         
     | 
| 
      
 398 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 399 
     | 
    
         
            +
            ["package", {}, "\n  ", ["job", {:id=>"create_html"}, "\n    ", ["script", {}, "\n", ["![", {}, "\n\n\nbuffer =<<HTML\n<?xml version='1.0' encoding='UTF-8'?>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\"/>\n  <title>The HTML5 template</title>\n</head>\n<body>\n\n</body>\n</html>\nHTML\n\n"], "\n    "], "\n  "], "\n"]
         
     | 
| 
      
 400 
     | 
    
         
            +
              ]]>
         
     | 
| 
      
 401 
     | 
    
         
            +
                          </value>
         
     | 
| 
      
 402 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 403 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 404 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 405 
     | 
    
         
            +
                </test>        
         
     | 
| 
      
 406 
     | 
    
         
            +
                <test>
         
     | 
| 
      
 407 
     | 
    
         
            +
                  <summary>
         
     | 
| 
      
 408 
     | 
    
         
            +
                    <path>15</path>
         
     | 
| 
      
 409 
     | 
    
         
            +
                    <type>to_a only</type>
         
     | 
| 
      
 410 
     | 
    
         
            +
                    <description>simple test</description>
         
     | 
| 
      
 411 
     | 
    
         
            +
                  </summary>
         
     | 
| 
      
 412 
     | 
    
         
            +
                  <records>
         
     | 
| 
      
 413 
     | 
    
         
            +
                    <input>
         
     | 
| 
      
 414 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 415 
     | 
    
         
            +
                        <xml>
         
     | 
| 
      
 416 
     | 
    
         
            +
                          <![CDATA[
         
     | 
| 
      
 417 
     | 
    
         
            +
            <a>
         
     | 
| 
      
 418 
     | 
    
         
            +
            <b encoding="test"
         
     | 
| 
      
 419 
     | 
    
         
            +
                        declaration="yes"/>
         
     | 
| 
      
 420 
     | 
    
         
            +
            </a>
         
     | 
| 
      
 421 
     | 
    
         
            +
                          ]]>
         
     | 
| 
      
 422 
     | 
    
         
            +
                        </xml>
         
     | 
| 
      
 423 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 424 
     | 
    
         
            +
                    </input>
         
     | 
| 
      
 425 
     | 
    
         
            +
                    <output>
         
     | 
| 
      
 426 
     | 
    
         
            +
                      <summary>
         
     | 
| 
      
 427 
     | 
    
         
            +
                        <value>["a", {}, "\n", ["b", {:encoding=>"test", :declaration=>"yes"}], "\n"]</value>
         
     | 
| 
      
 428 
     | 
    
         
            +
                      </summary>
         
     | 
| 
      
 429 
     | 
    
         
            +
                    </output>
         
     | 
| 
      
 430 
     | 
    
         
            +
                  </records>
         
     | 
| 
      
 431 
     | 
    
         
            +
                </test>    
         
     | 
| 
      
 432 
     | 
    
         
            +
              </records>
         
     | 
| 
      
 433 
     | 
    
         
            +
            </tests>
         
     | 
    
        data/xml/titus.xml
    ADDED
    
    | 
         @@ -0,0 +1,54 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <book name='Titus' permalink='titus' id='56'>
         
     | 
| 
      
 2 
     | 
    
         
            +
              <chapter no='1'>
         
     | 
| 
      
 3 
     | 
    
         
            +
                <verse no='1'>Paul, a servant of God, and an apostle of Jesus Christ,  according to the faith of God's elect, and the acknowledging of the  truth which is after godliness;</verse>
         
     | 
| 
      
 4 
     | 
    
         
            +
                <verse no='2'>In hope of eternal life, which God, that cannot lie,  promised before the world began;</verse>
         
     | 
| 
      
 5 
     | 
    
         
            +
                <verse no='3'>But hath in due times manifested his word through preaching,  which is committed unto me according to the commandment of God our  Saviour;</verse>
         
     | 
| 
      
 6 
     | 
    
         
            +
                <verse no='4'>To Titus, mine own son after the common faith: Grace, mercy,  and peace, from God the Father and the Lord Jesus Christ our Saviour.</verse>
         
     | 
| 
      
 7 
     | 
    
         
            +
                <verse no='5'>For this cause left I thee in Crete, that thou shouldest set  in order the things that are wanting, and ordain elders in every city,  as I had appointed thee:</verse>
         
     | 
| 
      
 8 
     | 
    
         
            +
                <verse no='6'>If any be blameless, the husband of one wife, having  faithful children not accused of riot or unruly.</verse>
         
     | 
| 
      
 9 
     | 
    
         
            +
                <verse no='7'>For a bishop must be blameless, as the steward of God; not  selfwilled, not soon angry, not given to wine, no striker, not given to  filthy lucre;</verse>
         
     | 
| 
      
 10 
     | 
    
         
            +
                <verse no='8'>But a lover of hospitality, a lover of good men, sober,  just, holy, temperate;</verse>
         
     | 
| 
      
 11 
     | 
    
         
            +
                <verse no='9'>Holding fast the faithful word as he hath been taught, that  he may be able by sound doctrine both to exhort and to convince the  gainsayers.</verse>
         
     | 
| 
      
 12 
     | 
    
         
            +
                <verse no='10'>For there are many unruly and vain talkers and deceivers,  specially they of the circumcision:</verse>
         
     | 
| 
      
 13 
     | 
    
         
            +
                <verse no='11'>Whose mouths must be stopped, who subvert whole houses,  teaching things which they ought not, for filthy lucre's sake.</verse>
         
     | 
| 
      
 14 
     | 
    
         
            +
                <verse no='12'>One of themselves, even a prophet of their own, said, The  Cretians are alway liars, evil beasts, slow bellies.</verse>
         
     | 
| 
      
 15 
     | 
    
         
            +
                <verse no='13'>This witness is true. Wherefore rebuke them sharply, that  they may be sound in the faith;</verse>
         
     | 
| 
      
 16 
     | 
    
         
            +
                <verse no='14'>Not giving heed to Jewish fables, and commandments of men,  that turn from the truth.</verse>
         
     | 
| 
      
 17 
     | 
    
         
            +
                <verse no='15'>Unto the pure all things are pure: but unto them that are  defiled and unbelieving is nothing pure; but even their mind and  conscience is defiled.</verse>
         
     | 
| 
      
 18 
     | 
    
         
            +
                <verse no='16'>They profess that they know God; but in works they deny him,  being abominable, and disobedient, and unto every good work reprobate.</verse>
         
     | 
| 
      
 19 
     | 
    
         
            +
              </chapter>
         
     | 
| 
      
 20 
     | 
    
         
            +
              <chapter no='2'>
         
     | 
| 
      
 21 
     | 
    
         
            +
                <verse no='1'>But speak thou the things which become sound doctrine:</verse>
         
     | 
| 
      
 22 
     | 
    
         
            +
                <verse no='2'>That the aged men be sober, grave, temperate, sound in  faith, in charity, in patience.</verse>
         
     | 
| 
      
 23 
     | 
    
         
            +
                <verse no='3'>The aged women likewise, that they be in behaviour as  becometh holiness, not false accusers, not given to much wine, teachers  of good things;</verse>
         
     | 
| 
      
 24 
     | 
    
         
            +
                <verse no='4'>That they may teach the young women to be sober, to love  their husbands, to love their children,</verse>
         
     | 
| 
      
 25 
     | 
    
         
            +
                <verse no='5'>To be discreet, chaste, keepers at home, good, obedient to  their own husbands, that the word of God be not blasphemed.</verse>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <verse no='6'>Young men likewise exhort to be sober minded.</verse>
         
     | 
| 
      
 27 
     | 
    
         
            +
                <verse no='7'>In all things shewing thyself a pattern of good works: in  doctrine shewing uncorruptness, gravity, sincerity,</verse>
         
     | 
| 
      
 28 
     | 
    
         
            +
                <verse no='8'>Sound speech, that cannot be condemned; that he that is of  the contrary part may be ashamed, having no evil thing to say of you.</verse>
         
     | 
| 
      
 29 
     | 
    
         
            +
                <verse no='9'>Exhort servants to be obedient unto their own masters, and  to please them well in all things; not answering again;</verse>
         
     | 
| 
      
 30 
     | 
    
         
            +
                <verse no='10'>Not purloining, but shewing all good fidelity; that they may  adorn the doctrine of God our Saviour in all things.</verse>
         
     | 
| 
      
 31 
     | 
    
         
            +
                <verse no='11'>For the grace of God that bringeth salvation hath appeared  to all men,</verse>
         
     | 
| 
      
 32 
     | 
    
         
            +
                <verse no='12'>Teaching us that, denying ungodliness and worldly lusts, we  should live soberly, righteously, and godly, in this present world;</verse>
         
     | 
| 
      
 33 
     | 
    
         
            +
                <verse no='13'>Looking for that blessed hope, and the glorious appearing of  the great God and our Saviour Jesus Christ;</verse>
         
     | 
| 
      
 34 
     | 
    
         
            +
                <verse no='14'>Who gave himself for us, that he might redeem us from all  iniquity, and purify unto himself a peculiar people, zealous of good  works.</verse>
         
     | 
| 
      
 35 
     | 
    
         
            +
                <verse no='15'>These things speak, and exhort, and rebuke with all  authority. Let no man despise thee.</verse>
         
     | 
| 
      
 36 
     | 
    
         
            +
              </chapter>
         
     | 
| 
      
 37 
     | 
    
         
            +
              <chapter no='3'>
         
     | 
| 
      
 38 
     | 
    
         
            +
                <verse no='1'>Put them in mind to be subject to principalities and powers,  to obey magistrates, to be ready to every good work,</verse>
         
     | 
| 
      
 39 
     | 
    
         
            +
                <verse no='2'>To speak evil of no man, to be no brawlers, but gentle,  shewing all meekness unto all men.</verse>
         
     | 
| 
      
 40 
     | 
    
         
            +
                <verse no='3'>For we ourselves also were sometimes foolish, disobedient,  deceived, serving divers lusts and pleasures, living in malice and  envy, hateful, and hating one another.</verse>
         
     | 
| 
      
 41 
     | 
    
         
            +
                <verse no='4'>But after that the kindness and love of God our Saviour  toward man appeared,</verse>
         
     | 
| 
      
 42 
     | 
    
         
            +
                <verse no='5'>Not by works of righteousness which we have done, but  according to his mercy he saved us, by the washing of regeneration, and  renewing of the Holy Ghost;</verse>
         
     | 
| 
      
 43 
     | 
    
         
            +
                <verse no='6'>Which he shed on us abundantly through Jesus Christ our  Saviour;</verse>
         
     | 
| 
      
 44 
     | 
    
         
            +
                <verse no='7'>That being justified by his grace, we should be made heirs  according to the hope of eternal life.</verse>
         
     | 
| 
      
 45 
     | 
    
         
            +
                <verse no='8'>This is a faithful saying, and these things I will that thou  affirm constantly, that they which have believed in God might be  careful to maintain good works. These things are good and profitable  unto men.</verse>
         
     | 
| 
      
 46 
     | 
    
         
            +
                <verse no='9'>But avoid foolish questions, and genealogies, and  contentions, and strivings about the law; for they are unprofitable and  vain.</verse>
         
     | 
| 
      
 47 
     | 
    
         
            +
                <verse no='10'>A man that is an heretick after the first and second  admonition reject;</verse>
         
     | 
| 
      
 48 
     | 
    
         
            +
                <verse no='11'>Knowing that he that is such is subverted, and sinneth,  being condemned of himself.</verse>
         
     | 
| 
      
 49 
     | 
    
         
            +
                <verse no='12'>When I shall send Artemas unto thee, or Tychicus, be  diligent to come unto me to Nicopolis: for I have determined there to  winter.</verse>
         
     | 
| 
      
 50 
     | 
    
         
            +
                <verse no='13'>Bring Zenas the lawyer and Apollos on their journey  diligently, that nothing be wanting unto them.</verse>
         
     | 
| 
      
 51 
     | 
    
         
            +
                <verse no='14'>And let our's also learn to maintain good works for  necessary uses, that they be not unfruitful.</verse>
         
     | 
| 
      
 52 
     | 
    
         
            +
                <verse no='15'>All that are with me salute thee. Greet them that love us in  the faith. Grace be with you all. Amen.</verse>
         
     | 
| 
      
 53 
     | 
    
         
            +
              </chapter>
         
     | 
| 
      
 54 
     | 
    
         
            +
            </book>
         
     |