Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] Question about XPath query in FROM-TO Copy

Hi,

In the specification, a copy FROM-TO only allows XPath to select one single/complex element, or one attribute of an element:

[8.4.1 Selection Result of Copy Operations]
"<copy> operation must be an EII, AII or TII. Selection failure must be thrown when the FROM-spec selects multiple XML information items..."
-------------------------------------------------------------------------------------------------
But now we have:

[8.2.1]
Evaluation of a WS-BPEL _expression_ or query will yield one of the following:
a collection of XML infoset items e.g. $myFooVar/lines/*
...

1. If * is allowed, it will select multiple elements in a Copy. How can I understand this?
2. Can we use "
descendant", "following"... for xPath query in BPEL?

Thank you



Back to the top