|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Xpath and namespaces
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








