Aris Tsaklidis
Tue, 12 Jun 2007 01:32:48 -0700
i'm having a problem with reading the attribute value of a node. i tried
different things but seems like nothing works like it should.
The XMl is build like this
<Test>
<value key="test">
<![CDATA[data]]>
</value>
</Test>
I'm getting the node by using an XPathExpression.
Node test = Dom4jUtil.getNode("//*[starts-with(local-name(),'Test')]");
The problem here is that I cant figure out how to get my hands on the
"key" attribute.
Can anyone help me?
Best Regards,
Lindian
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user