I have a xml file that contains an image tag(which is coded in base64)
I would decode this base64 String using the following class
I need to call this java method from a XSL(so that i pass the value of the string as an argument)..How do i do that??
EDITED BY ME TO REMOVE THE LONG STRING WHICH WAS SPOILING THE ALIGNMENT OF THE REST OF THE THREAD. - ANGELA POYNTON [ February 16, 2007: Message edited by: Angela Poynton ]
You can't. That is, unless you created you own proprietory XML instruction and implemented your own XSL transfomer to handle it. But that is definately using a sledgehammer to crack a nut. I reckon you are maybe looking at the wrong technology to handle your image. I presume you are transforming this XML in a Java application? In which case, why not just handle the image directly in your app?
You could write an XSL extension in Java. That would be a standard way to do custom processing during transformation. For more information, ss http://www.exslt.org/
I've edited your original post so that the page is fixed. Please refrain from using exceptionally long strings with no spaces with CODE tags as this ruins the formatting of the whole page.
Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
Srikkanth Mohanasundaram
Ranch Hand
Joined: Feb 07, 2007
Posts: 185
posted
0
Sorry for that..And i'm not using a java app to transform the xml.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.