Gizmo

There are six builtins Gizmo available in IsisNBP:

  • gunihtml: Unicode to HTML;
  • gunilc: Unicode to lower case;
  • gunima: Unicode to upper case (with accent marks);
  • gunimi: Unicode to lower case (with accent marks);
  • gunina: Unicode to remove accent marks;
  • guniuc: Unicode to upper case;

ex.:

In [1]: db = sample.cds

In [2]: rec1 = db[1]

In [3]: print rec1.format("'<&',v50,'&>'").encode('gunihtml')
'&lt;&amp;Incl. bibl.&amp;&gt;'

In [4]: print rec1.format("v50").encode('guniuc')
'INCL. BIBL.'

In [5]: rec7 = db[7]

In [7]: rec1.v70.data
Out[7]: u'Slav\xedk, B.Catsky, J.'

In [8]: print rec1.v70.data.encode('guniuc')
SLAVIK, B.CATSKY, J.