[vtk-developers] Add pugixml to VTK

Dan Lipsa dan.lipsa at kitware.com
Fri Jul 6 16:58:43 EDT 2018


>
> Alright. Maybe this could actually benefit from being done in a
> streaming fashion (à la libxml2's reader API)? Or will it be
> beneficial/easier to have access to the whole DOM in memory?
>

You are right - it could be implemented in streaming fashion.
I think the trade off is
- streaming: slower than dom, less memory than dom, possibly more
complicated as you may need to store data for later.
- dom: quickest, more memory than streaming, simplest way to access citygml
data.

For now I lean toward dom as our input data is tiled to start with so I
don't expect really large files. I realize I have to revise the specs of
the problem:
I'll need to parse many medium size XML files.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20180706/c14f6d87/attachment.html>


More information about the vtk-developers mailing list