note 27951 deleted from function.domxml-xmltree by sobak
| From: | sobak@php.net | Date: | Thu, 01 Dec 2016 12:49:56 +0000 |
| Subject: | note 27951 deleted from function.domxml-xmltree by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207839@lists.php.net to get a copy of this message | ||
Note Submitter: samc a t rampantlabs dot net
----
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...