[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Implementing "value-of" on a (DOM) Node
Hi, I'm currently working in a project involving Cocoon as framework where I'm trying to integrate Generic XML data sources into XML templates to be "cocoonized": fed into the Cocoon reactor to tranform the resulting XML in a compatible form for the target device (VoiceXML, XHtml, WAP...) While doing this, I've been having difficulties to implement the insertion of XML 'pieces' (a piece (for me) is a XPath retrieving only one subtree). The XPath stuff is alredy working but I'm stuck trying to get the value of the node retrived by the call to XPath. I get a org.w3c.dom.Node and I'd like to apply a function that would retrieve what xsl:value-of select=<this node> would. I saw the XSLT processor implementation (XALAN) but I can't get a grip in the code (ElementValueOf). Is there somewhere a more comprehensive way to do that? ValueOf (org.w3c.dom.Node) :- String Thanks in advance, Gerard. 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
|