[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Xpath Question
One of our devs just made me question all that's right in the world with the question below. Given the following XML <pre> <b>bold</b> <i>italic</i> </pre> what is the result of the following XPath expression "count(/pre/child::node())" ? Is the answer 2 or 5? -- PITHY WORDS OF WISDOM Herblock's Law: if it is good, they will stop making it. This posting is provided "AS IS" with no warranties, and confers no rights.
|
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
|