Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dev:client_coding:changes_in_zotero_2.1 [2011/08/21 04:40] – [Changes to translators] simondev:client_coding:changes_in_zotero_2.1 [2011/08/21 04:41] – [Changes to translators] simon
Line 46: Line 46:
 ===== Changes to translators ===== ===== Changes to translators =====
  
-  * Z is now a shortcut for Zotero in translators, and ZU is a shortcut for Zotero.Utilities.+==== Shorthand syntax ==== 
 +Z is now a shortcut for Zotero in translators, and ZU is a shortcut for Zotero.Utilities.
  
-  * New utility functions:+==== XPath utility functions ====
     * <code>Zotero.Utilities.xpath(element, xpath[, namespaces])</code> Accepts a DOM element, document, or array of elements or documents and evaluates an XPath, optionally interpreting namespace prefixes using a object whose keys correspond to namespace prefixes and whose values correspond to namespace URIs. The result is an array of nodes matching the XPath.     * <code>Zotero.Utilities.xpath(element, xpath[, namespaces])</code> Accepts a DOM element, document, or array of elements or documents and evaluates an XPath, optionally interpreting namespace prefixes using a object whose keys correspond to namespace prefixes and whose values correspond to namespace URIs. The result is an array of nodes matching the XPath.
     * <code>Zotero.Utilities.xpathText(element, xpath[, namespaces[, delimiter]])</code> Behaves similarly to Zotero.Utilities.xpath, but the result is the textContent of all matching nodes, joined by a delimiter if more than one node matched. If no delimiter is specified, ", " is used.     * <code>Zotero.Utilities.xpathText(element, xpath[, namespaces[, delimiter]])</code> Behaves similarly to Zotero.Utilities.xpath, but the result is the textContent of all matching nodes, joined by a delimiter if more than one node matched. If no delimiter is specified, ", " is used.
dev/client_coding/changes_in_zotero_2.1.txt · Last modified: 2017/11/27 05:09 by bwiernik