Just to hopefully complete this for the record.
Johannes attachment didn't make it to the list, but
in an off-list conversation, I believe the problem
is not trimming of text (i.e. removing leading and trailing whitespace)
but apparent truncation of text in an XML node.
The xmlEventParse() functio
Hi Duncan,
Thanks for your thoughts. "trim=FALSE" does not fix my issues, so I attach
pared down versions of my script and data file. Thanks for any further hint.
Joh
Duncan Temple Lang wrote:
> Hi Johannes
>
> I would "guess" that the trimming of the text occurs because
> you do not specif
Hi Johannes
I would "guess" that the trimming of the text occurs because
you do not specify trim = FALSE in the call to xmlEventParse().
If you specify this, you might well get the results you expect.
If not, can you post the actual file you are reading so we can
reproduce your results.
D.
J
Hello,
I wrote the function below and have the problem, that the "text" bit returns
only a trimmed version (686 chars as far as I can see) of the content under
the "fetchPeaks" condition.
Any hunches why that might be?
Thanks for pointer, Joh
xmlEventParse(fileName,
list(
startElemen
4 matches
Mail list logo