Hi Folks,

I'm currently a bit confused. But I know that anyone of you can help me out
of this situation :).

I'm trying to apply the following XPath 

/component/docType/[@extension='pdf'][@mime-type]

that belowgs to a xml document with this structure:

<component>
   ...
   ...
  <docType extension="pdf" mime-type="application/pdf"/>
  <docType .../> 

</component>

I want to retreival "application/pdf" for exactly the Node that has a
extension attribute with value "pdf". But  Node#valueOf(String xpath) returns only
an empty String.

Does my XPath hurts the Spech or is this a possible bug in dom4j/jaxen?

Thx for your advice

Toby

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to