> what kind of xml document does this function have to see
> to return a 1?
>
> <tony>
> <human>1</human>
> </tony>
>
> shouldn't something that simple work?

That's not an XML document; it's an XML document fragment. You need an XML
declaration:

<?xml version="1.0"?>
<tony> ...

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to