Use TXMLSeqParser.ReadNextChildNode after ReadNextChildElementHeader as demonstrated in unit tests function TOXmlUnitTest. Test_OXmlPSeq_TXMLSeqParser_Test2.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have a commercial license for OXml?
If you want me to write the code for you, I can do that. In this case please contact me through email (contact at www.kluug.net/legal.php)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry.... ReadNextChildHeader - this is work, not ReadNextChildElementHeader. I do not rush to get a grasp ... In the near future to purchase a license.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OXmlPSeq how to read node text after ReadNextChildElementHeader?
Add this patch. WhiteSpace and null text can cause problems, but in my test files 300-1000 gb error was not found.
Next patch.
Do you have a test application to see what you want to achieve?
Your patches are wrong.
Use TXMLSeqParser.ReadNextChildNode after ReadNextChildElementHeader as demonstrated in unit tests function TOXmlUnitTest. Test_OXmlPSeq_TXMLSeqParser_Test2.
ReadNextChildNode read all sub Child nodes. This no good...
Then use ReadNextChildHeader from r130.
<ch3/>
</a1>
This source not read "xcxcxcxc" value.
I understand the complexity of the problem in this situation. It is necessary to read the following tag and come back. How to do it is not clear ...
Use ReadNextChildHeader again.
Use GoToPath('..')
... how to read "value" - "xcxcxcxc"
<a1> <ch1>xcxcxcxc</ch1> <ch2 a="v"></ch2>
<ch3/>
</a1>
use ReadNextChildHeader,without ReadNextChildNode?
Yes.
Do you have a commercial license for OXml?
If you want me to write the code for you, I can do that. In this case please contact me through email (contact at www.kluug.net/legal.php)
Sorry.... ReadNextChildHeader - this is work, not ReadNextChildElementHeader. I do not rush to get a grasp ... In the near future to purchase a license.