Hello all,
Thanks in advance for any helps and sorry if I post to a wrong group.
I try to retrieve the value configured in server-config.wsdd by
java.jdom.xpath.XPath's selectNodes(), but failed.
I have been searching through google and found some samples, but I still
failed to get it work. I think it is due to the namespace.
I tried with "//java:[EMAIL PROTECTED]'attachments.Directory']", but it
doesn't work.
And "//[EMAIL PROTECTED]'attachments.Directory'] and namespace-uri() =
''" does return a Boolean value.
Can anyone show me the XPath expression to select the "parameter" with
name "attachments.Directory"?
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
<parameter name="attachments.Directory"
value="C:\jakarta-tomcat-5.0.19\webapps\axis\WEB-INF\attachments"/>
<parameter name="sendMultiRefs" value="true"/>
</globalConfiguration>
</deployment>
Thanks.
Regards,
Simon.
--
Simon Tneoh Chee-Boon Gen-X Technology Sdn. Bhd.
http://www.gen-x.com.my http://www.tneoh.zoneit.com/simon/