In JSP you can do this:
<xsl:apply xsl="/xsl/programcalendar_xml.xsl">
<programdata>
<%= ServletCaller.get("getcalendarXML",props)
%>
<%= ServletCaller.get("getprogram",props) %>
</programdata>
</xsl:apply>
So the xsl can chew on both xml documents that are
returned. This is EXTREMELY handy for effectively
joining data within the XSL. It prevents redundancy.
It promotes portability of servlets and the servlet's
xml output in my case. It's fantastic to have as an
option.
Is this possible in Embperl?
I mean how would you do it with the "Execute" command:
Execute ({inputfile => 'my.xml', recipe => 'LibXSLT',
xsltstylesheet => 'posts.xsl'})
?
I really need to do this in order to make a current
program work in the best way I know. For example:
<programdata>
<post><subject>test</subject><id>12</id></post>
<thread>
<id>11<id>12</id></id>
</thread>
</programdata>
The xsl gets to work on both <post> and <thread>. So
you can do things like flag where in the thread the
post belongs within the xsl. For example:
<xsl:if select="@id=$active_id">you are
here-></xsl:if>
-Jarrod
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]