Luciano Ramalho avatar Luciano Ramalho committed 10bf655

forgot to commit change to unwrapped text

Comments (0)

Files changed (1)

code4lib13/isis2couchdb-unwrap.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>
 
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.