note 27951 added to function.domxml-xmltree
| From: | samc at rack1 dot php dot net | Date: | Fri, 27 Dec 2002 06:36:22 +0000 |
| Subject: | note 27951 added to function.domxml-xmltree | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41336@lists.php.net to get a copy of this message | ||
Forgive me if I am mistaken, but the whole point of including the "useless white space" is
because of the existence of mixed types, for example:
the schema def:
<xsd:element name="paragraph">
<xsd:complexType mixed="true">
<xsd:choice>
<xsd:element ref="link" />
<xsd:element ref="emphasisText" />
</xsd:choice>
</xsd:complexType>
</xsd:element>
and an example:
<paragraph>This here is a paragraph. You'll notice that it has within it a bunch of text
punctuated by other <emphasisText>tags</emphasisText> and it is <link
target="me.html>my</url> understanding that the only way to read this text is by
reading the tagless nodes that your functions strip.</paragraph>
I could be way off though...
--
http://www.php.net/manual/en/function.domxml-xmltree.php
http://master.php.net/manage/user-notes.php?action=edit+27951
http://master.php.net/manage/user-notes.php?action=delete+27951
http://master.php.net/manage/user-notes.php?action=reject+27951