Variabile contatore nel nome XPath?

Descrizione

Ambiente

  • Campaign Classic
  • Campaign
  • Campaign Standard

È possibile utilizzare una variabile contatore come quella indicata di seguito in un nome 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?

Risoluzione

xpathExpr funzionerà.

In questa pagina