MACROMEDIA FLASH 8-USING FLASH Use Manual page 446

Using flash
Table of Contents

Advertisement

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:
(node selection by name)
/A/B/C
(node selection of all child nodes of /A/B by wildcard)
/A/B/*
(node selection of all C nodes that have exactly two ancestors)
/*/*/C
Predicate syntax to further specify nodes to be selected:
(child node syntax; selects all B nodes that have a C node as a child)
/B[C]
(attribute existence syntax; selects all B nodes that have an attribute named
/B[@id]
(attribute value syntax; selects all B nodes that have an
/B[@id="A1"]
value is A1)
Support for predicate comparison operators:
=
Support for Boolean
/B[@id=1 and @customer="macromedia"]
The following operators are not supported: "<", ">", "//".
446
Data Integration (Flash Professional Only)
and
values in predicates:
and
or
)
id
attribute whose
id

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents