extract information: parametric operetor

daddou20012
daddou20012 New Altair Community Member
edited November 5 in Community Q&A
I have a problem for extracting text from a document using the operator extract information, when I want to have parametric xpath that contains a call to a macro effect like this:
/ / *[@ class = 'contentheading' and contains (.,. +% {macro}. +)]

But this is not functional %{macro}Since runnig is not replaced by its value

any one can help on how aproiri All really works ..

thanks you in advance  :)
Tagged:

Answers

  • daddou20012
    daddou20012 New Altair Community Member
    daddou20012 wrote:

    I have a problem for extracting text from a document using the operator extract information, when I want to have parametric xpath that contains a call to a macro effect like this:
    / / *[@ class = 'contentheading' and contains (.,. +% {macro}. +)]

    But this is not functional %{macro}Since runnig is not replaced by its value

    any one can help ???  ???  :'(

    thanks you in advance  :)
  • Hello

    Try putting the macro inside double quotes

    regards

    Andrew