You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDATA is usually just used as a way to escape text, but there is no real nice API to reach it in Ox. For example, compare <foo>bar</foo> and <quux><![CDATA[<garply>nice</garply>]]></quux> when trying to reach the text/literal data:
I am aware that <quux> could have had multiple CDATA nodes, but the same holds for <foo> containing mixed strings and elements, then #text also returns the first string node. Additionally, I should also have checked that quux_xml.nodes.first is even a CData node.
The text was updated successfully, but these errors were encountered:
CDATA is usually just used as a way to escape text, but there is no real nice API to reach it in Ox. For example, compare
<foo>bar</foo>
and<quux><![CDATA[<garply>nice</garply>]]></quux>
when trying to reach the text/literal data:I am aware that
<quux>
could have had multiple CDATA nodes, but the same holds for<foo>
containing mixed strings and elements, then#text
also returns the first string node. Additionally, I should also have checked thatquux_xml.nodes.first
is even aCData
node.The text was updated successfully, but these errors were encountered: