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