[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

problem with dynamic xml generation via JSP and transf

Subject: problem with dynamic xml generation via JSP and transformation with XSLT
From: "Carlos Fragoso Mariscal" <cfragoso@xxxxxxxx>
Date: Mon, 3 Sep 2001 13:27:22 +0200
dynamic xml generation
Hi,

I'm facing a problem that possible someone
has found previously.

The origin xml file is generated in a JSP
page and the engine of the webserver then
does the xslt tranformation with the generated
content.

I have used some taglibs (from the Struts packet)
like <logic:equal> that works like an 'if' statement
in Java programming language.

<chooseOption>
   <description><bean:message
key="configuracio.correu.tamany"/></descripcio>
   <logic:equal name="properties" property="showSize" value="true">
      <option name="size" value="yes" activated="yes">Yes</option>
      <option name="tamany" value="no" activated="no">No</option>
   </logic:equal>
</chooseOption>

The problem is that I think that the webserver
engine (in this case Resin) does the XSLT
transformation prior to the computing processing
so when the xslt transformation is done any
taglib content like <logic:equal> <bean:message>
etc is lost, so the condition is not processed.

I suppose that there isn't any way to change
the order of processing : first computing taglibs,
then doing the xslt transformation. But, I suppose
that there is a rule to preserve those tags that
belong to processing in the xslt transformation
process. Any idea of which rule do I need either
a possible solution to this problem?

Thank you in advance,

---------------------------
Carles Fragoso i Mariscal
Supercomputing Center of Catalonia
Communications & Operations Dept.
E-Mail: <cfragoso@xxxxxxxx>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.