XPath 名のカウンター変数?

説明 description

環境

  • Campaign Classic
  • Campaign
  • Campaign Standard

xpath 名に以下のようなカウンター変数を使用できますか?

set expr=”@counter” xpath=”/test/element@counter”


Trying this shows an error with the @counter in the bracket in the xpath, but using a number instead set expr=”@counter” xpath=”/test/element1” works just fine.

Is there a function for adding to a DOMDocument Element, either by an append function or by using the above mentioned counter variables?

解決策 resolution

xpathExpr が機能します。

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f