Use this instead of just getNodeValue() .getFirstChild().getNodeValue()
There was some reason for doing this but sorry I forgot now what was that. -----Original Message----- From: Pablo Bryan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 1:16 AM To: [EMAIL PROTECTED] Subject: CDATA Element Hi all, How can I read a CDATA Elemente from a Servlet? I can retrieve the name with getNodeName but everytime I try to do getNodeValue it returns null, and of course it isn't null. Thanks, Pablo ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
