* Vojtech Fried wrote:
>[...]

Please do not use the "Reply to" function of your mail client to compose
new and independent mails to the mailing list.

>I have an xml like this
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE root [
><!ENTITY greeting "ahoy">
>]>
><root>
>       <value>&greeting;</value>
>       <value>Today, our greeting is &greeting;</value>
></root>
>
>And xpath count(/root/value/node()) returns 1. It ignores the two entity 
>reference nodes, I think it should return 3.

There are no entity reference nodes in the XPath data model, see e.g.
<http://www.w3.org/TR/xpath/#data-model>.
-- 
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to