Hi there
I've try to do a query to the data workspace, but it does not works. I wish to
iterate through all textcaptchas folders.
questionsList get out [ ] Can you help me? Thanks
<cms:query var="questionsList" query="textcaptcha//*[itemtype='textcaptcha']"
repository="data" type="xpath" />
<captchas>
<c:forEach var="question" items="${questionsList}">
<captcha>
<question>asdad</question>
<answers>
<answer>schwarz</answer>
<answer>Schwarz</answer>
</answers>
</captcha>
</c:forEach>
</captchas>
The Structure of Textcaptcha:
- textcaptcha
- Folder
- answer
- itemtype
- name
- Folder
- answer
- itemtype
- name
....
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------