|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Node implementation
Quoting Michael Kay <mhk@xxxxxxxxx>: > If the XSLT processor allows calls to a method that expects a Node, then it > will take care of the problem of deciding what Node implementation to use. > Your method doesn't need to know, so it's perfectly OK just to declare it as > Node. > You're right (as usual :) ). However i was hopping to find some class that implements Node and extends it's functionality, like for instance some getChild( name) or getFirstChild (name), or even getElementsByTagName(name). This last one is a method of Element and Document, both extends Node, but when i try to cast Node to one of then, altought i'm not getting any Cast Exception, i get a error in execution time... So i'm going to try to use Node methods alone... I'm using Xalan-Java 2.4.1, i guess... #---- BEGIN writeEnvironmentReport($Revision: 1.14 $): Useful stuff found: ---- version.DOM.draftlevel=2.0fd java.class.path=. version.JAXP=1.1 java.ext.dirs=C:\JBuilderX\jdk1.4\jre\lib\ext version.xerces2=not-present version.xerces1=not-present version.xalan2_2=Xalan Java 2.4.1 version.xalan1=not-present version.ant=not-present java.version=1.4.2_01 version.DOM=2.0 version.crimson=present-unknown-version sun.boot.class.path=C:\JBuilderX\jdk1.4\jre\lib\rt.jar;C:\JBuilderX\jdk1.4\jr e\l ib\i18n.jar;C:\JBuilderX\jdk1.4\jre\lib\sunrsasign.jar;C:\JBuilderX\jdk1.4\jr e\l ib\jsse.jar;C:\JBuilderX\jdk1.4\jre\lib\jce.jar;C:\JBuilderX\jdk1.4\jre\lib\c har sets.jar;C:\JBuilderX\jdk1.4\jre\classes version.SAX=2.0 version.xalan2x=Xalan Java 2.4.1 #----- END writeEnvironmentReport: Useful properties found: ----- # YAHOO! Your environment seems to be OK. O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim! Clique em: http://antivirus.sapo.pt
|
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
|

Cart








