Posted by KubixKiller@gmail.com on 10/31/06 14:40
Whiskey,
Great! That really worked for me (skipping blancs). Now I'll have a
look at the validating part. Many thanks on giving more insight in this
strange DOMXML behaviour.
Greets Martin
whiskey wrote
> > 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]
|