We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Hi Guys,

    I need to populate xml values dynamically eg I need to populate [[*question1]] or [[$question1]] with its value. Is this possible?
    Thanks

       <topic>
          <question> [[$question1]] </question>
          <media>question_art.png</media>
          <answer0>36522.[[$question1]]</answer0>
          <answer>72.</answer>
          <answer>Never.</answer>
          <answer>101010.</answer>
          <answer>Twice a week.</answer>
       </topic>
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Will need some more info for a good recommendation...

      In general, chunks are reusable pieces of content or markup, where as TVs hold resource specific values.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.