
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 you’re 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"]
NO
TE
The following operators are not supported: "<", ">", "//".
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...