[prefix_]getEntryXPaths
Use this function to return XPaths that represent the root of the entries in the feed with optional prefix. All subsequent function calls relating to a particular feed entry would require the specified function prefix.
Inputs: | xml (XmlDocument) |
Outputs: | xpaths (list:{string} or table:{string->string} or table:{string->list:{string}}) |
See also: |
Example
function myPrefix_getEntryXPaths(xml) cache_result() return { "/atom:feed/atom:entry", prefix1=xpath1, prefix2={xpath2, xpath3} } end