Commits

Luciano Ramalho committed f660d48

minor fix: removed [sourcode] from preformatted text that was not really sourcedode

  • Participants
  • Parent commits 4d37525

Comments (0)

Files changed (1)

File code4lib13/isis2couchdb.txt

 And to access its value we must write <code>doc["1"][0][0][1]</code>. Here is
 why:
 
-<pre>[sourcecode]
+<pre>
 doc   →  {"1": [[["_", "UY6.1"]]]}      # entire document
 doc["1"]   →   [[["_", "UY6.1"]]]     # list of occurrences of field #1
 doc["1"][0]  →  [["_", "UY6.1"]]    # list of subfields of occurrence 0 of #1
 doc["1"][0][0] → ["_", "UY6.1"]   # subfield 0 of occurrence 0 of #1 (key "_")
 doc["1"][0][0][1]   →  "UY6.1"  # value of subfield 0 of occurrence 0 of #1
-[/sourcecode]</pre>
+</pre>
 
 
 This quickly becomes tedious, and very burdensome in more complex cases, for