[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Returning nodeset from external functions
Hello, Is it possible to return return a nodeset from an external function? If so, are there any suggestions on how this could be done using XT? I want to do this in order to convert arbitrary strings to a set of elements. Here is an example: <xsl:template match="nodeName"> <xsl:apply-templates match="myJavaClass:stringConverter(string(.//text()))"/> </xsl:template> I would like to either return a String from stringConverter that is encoded as XML, or return an Object that could be converted to a nodeset. When I try the first, the XML markup is converted to entities (<, >). Thanks, Dan -- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <> Dan Machak <> machak@xxxxxxxxxxxx <> <> MS T27A-1 <> 650-604-2388 (VOICE) <> <> NASA Ames Research Center <> 650-604-3957 (FAX) <> <> Moffett Field, CA 94035-1000 <> <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|