![]() |
|
xpath |
Longname: | xpath | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released: | 7.80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | 7.80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | var attr stream mini getvar indirect (n/a) expr show attrloop tokloop xpointer fs fish fishloop prop propval length lookup resolve string perl lump_expand hash taginfo format_num format_seq css char Technote: 0080 |
Summary |
A keyword used with function variables: ^[funcname parameter(s)]. This syntax can be used anywhere that a regular 3B2 variable can be used: in show strings, in scripts, in expressions, etc. Function variables are a V8 feature that uniforms variable use and functions into a readable syntax. The 'xpath' function provided a generic method to call/eveluate expath expressions from within showstrings. See also <?xpath>. |
Example extract |
The following show string will display the current value of the th command (text height).
|
Syntax
|
expr:t
|
expr:t |
Any valid xpath expression. |
Show the name of the current node using the xpath function variavle syntax. |
|
Show the name of the current node using the traditional xpath within showstrings syntax. |
|
Document created on 11-Nov-2004 (revision 1)