Hi all!
I am not sure if this is the correct list to post this kind of question
- if not then please let me know!
I have some xml data like the one written below! I need to know the
number of "response" elements it contains! My guess would be something
like "count(namespece::DAV/multistatus/response)" - but that does not
seem to work!
Thanks
Jacob
<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/his/1/1.0</D:href>
<D:propstat>
<D:prop>
<D:version-name>1.0</D:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response>
<D:href>/his/1/1.1</D:href>
<D:propstat>
<D:prop>
<D:version-name>1.1</D:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list