Hi Nigel:
I'm analizing your class XPath in order to include it in my app.... i =
think it's the most accurate i've ever seen. It's dynamic, flexible, =
portable,... the best one.
:o)
I have a couple of question that i would thank you if you can answer =
them as soon as possible:
- If I would like to take only the nodes that apply to the XPath =
Expression directly, what i have to call or use?
You'd call match() which will (probably) return you a set of nodes.
- What if the XML has sintax errors?
importFromFile() or importFromString() will fail. Why don't you try it =
out and you'll see what happens.
- Is there any script recommended to validate or tidy a XHTML string =
without using PHP extensions?
Best regards,
Probably. But don't have any relevant advice to offer. Sorry!
Nigel |