mirror of
https://github.com/RPCS3/pugixml.git
synced 2026-01-31 01:25:21 +01:00
Support XPath string value for parse_embed_pcdata
This commit is contained in:
@@ -7653,6 +7653,10 @@ PUGI__NS_BEGIN
|
||||
{
|
||||
xpath_string result;
|
||||
|
||||
// element nodes can have value if parse_embed_pcdata was used
|
||||
if (n.value()[0])
|
||||
result.append(xpath_string::from_const(n.value()), alloc);
|
||||
|
||||
xml_node cur = n.first_child();
|
||||
|
||||
while (cur && cur != n)
|
||||
|
||||
Reference in New Issue
Block a user