Posted by whiskey on 10/31/06 13:44
> Why is the next sibling of my Item-node, a text-node? I use PHP 4.3.10.
W/s are probably treates as anonymous text nodes. In this case, you'll
need to strip them. Try calling your function with
DOMXML_LOAD_DONT_KEEP_BLANKS.
> By the way: why doesn't the domxml_open_file-function validate my XML against the mentioned DTD-file?
Try calling the function with DOMXML_LOAD_VALIDATING.
See PHP manual on how to use flags/modes.
Navigation:
[Reply to this message]
|