[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Call java function to do background work
Hi Ming, I would return a pass/fail result from the Java, if you care what happens if the database is offline or your database manipulation otherwise fails. Then you can use an <xsl:if> to wrap your call, and do something useful if it fails - like stop right now and report. Rob -----Original Message----- From: Ming Yu [mailto:my600080@xxxxxxxxx] Sent: Tuesday, June 12, 2012 11:08 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Call java function to do background work Sorry if this is a very simple question but I couldn't seem to come up with a neat solution. During xslt transformation, I need to call a java function to do some background work (such as adding some values to the database, etc). The java function doesn't need to return anything. At this moment, I just use the normail <xsl:value-of> tag to append to a variable. Since it doesn't return anything, the variable value stays the same. Is there a neater to achieve this goal? Thanks a lot! Ming
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|