Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

JSTL XML taglib not supported in CQ5.6.1

Avatar

Level 2

Is there a way to get CQ to include jstl xml to traverse xml in jsp files?  On a howto page someone mentioned that the current jstl taglibs did not include the XML taglib and possibly CQ only has a stripped down version.  For purposes we need to parse nested XML and using an iterator injects a lot of code overhead.  I tried to include the url for the xml taglibs and was not successful in getting to work.  It would more functional to have couple lines of code to iterate xml node as oppose to 1000s.

 

Here is the link found searching for information on including jstl xml taglibs.

http://dev.day.com/docs/en/cq/5-4/howto/taglib.html

<c:import url="http://localhost:8080/Example/user.xml"
var="inputvalue" />

<c:import url="http://localhost:8080/Example/parameters.xsl"
var="stylesheet" />

<x:transform xml = "${inputvalue}"
xslt = "${stylesheet}">
<x:param name="nameParam" value="ankit" />
</x:transform>

1 Accepted Solution

Avatar

Correct answer by
Level 10

AFAIK, Unfortunately none of aem version support jstl. As a workaround you need to create a bundle from the jstl implementation.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

AFAIK, Unfortunately none of aem version support jstl. As a workaround you need to create a bundle from the jstl implementation.