EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Page 446

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
446 Data Integration (Flash Professional Only)
Adding bindings using path expressions
You can use path expressions for data binding in two areas:
In the Add Binding dialog, to identify the field you are binding to
In the Bound To dialog box, to identify the field youre binding from.
The following XPath expressions are supported:
Absolute paths:
/A/B/C
Relative paths:
A/B/C
Node selection using node name or wildcard:
/A/B/C (node selection by name)
/A/B/* (node selection of all child nodes of /A/B by wildcard)
/*/*/C (node selection of all C nodes that have exactly two ancestors)
Predicate syntax to further specify nodes to be selected:
/B[C] (child node syntax; selects all B nodes that have a C node as a child)
/B[@id] (attribute existence syntax; selects all B nodes that have an attribute named id)
/B[@id="A1"] (attribute value syntax; selects all B nodes that have an id attribute whose
value is A1)
Support for predicate comparison operators:
=
Support for Boolean and and or values in predicates:
/B[@id=1 and @customer="macromedia"]
NOTE
The following operators are not supported: "<", ">", "//".

Table of Contents

Related product manuals