[prefix_]getSubEntryXPaths
Use this function to return XPaths that represent the root of the sub-entries in the feed entry with optional prefix. All subsequent function calls relating to a particular sub-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_getEntrySubXPaths(xml) cache_result() return { "~/atom:subentry", prefix1=xpath1, prefix2={xpath2, xpath3} } end