Hi Folk,

This may be a very simple question, but I'm having a bit of a time sifting
through all the new features of JRun4 and figuring out what to use now (and
how to use it) and what to save for later.

I'm trying to figure out the simplest way to have a Flash application use
sendAndLoad with an XML object to JRun, have JRun translate it with XSLT
into a new XML object and pass it back to Flash.

My first thought was to use that XSLT tag from the earlier version of JRun,
but does it still exist in a default installation of JRun4? And now that
there is JAXP, should I use that transformer object instead?

Now I just want to have a simple mechanism to do this in order to make my
life easy, but to make it easy for you to understand what I have in mind,
here is a case for how this simple servlet or tag would be used.

Say I am creating an xpath training tool in Flash. I'd like to have a custom
interface that the student can use to edit a single path of an XSL file that
translates one XML file to another. For the case of the illustration, say
the new XML file is identical to the original except every node has a
"selected" attribute that is false in the original. The path statement
selects some group of nodes and sets their "selected" attribute to true. The
ones that the path statement selected will be highlighted in Flash to show
which nodes the path statement selected. The original XML file doesn't ever
change, so all the student needs to send is the XSL file as XML. The XSL
file goes to JRun, gets transforms and returns a new  XML object so they can
see the results of the transformation.

Thanks for any advice you can provide here, I know with my example use the
student could just send a string with the xpath fragment, but what I'm
really looking for is the simplest way to be able to use XSLT from Flash
with JRun.

Thanks for you thoughts,

Cort

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to