The xml file that i get is huge in size, however while i need only specific parts of the file in random manner (hence cannot use SAX) while processing. Is there any way by which i can load only a partial dom tree in memory using xerces dom parser?
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in DOM
- Is 'div' a Parameter or an Argument in JavaScript's document.createElement Method?
- PHP Dom merge documents
- Unable to Login through Automation(Cypress) to app, while the credentails are true. It allows manual login but unable to login through Cypress
- How do I test a color value in Javascript?
- How to Sort DOM elements according to the elements of another array?
- DOM is not being uploaded for my Etch-A-Sketch board
- Any HTML standards to limit resource of the HTML content?
- how to make a pop under tab in mobile version
- Unable to load text from textarea to docx
- EventListener is not being added to button elements
- Get SVG Path Point Position Relative to DOM (not parent SVG)
- Using HTML, CSS and JavaScript Fetch to make a POST request to an API service
- Can someone explain why this happen?
- How do content attributes and IDL attributes interact?
- React js parse with content between html strips
Related Questions in XERCES
- XMLStreamReader.getLocation() returns unexpected character offset
- SAXParseException with Camel 4
- Replace xerces xml
- How to build Android with Xerces
- Java 17 migration, JEP-403 and Xerces - properties ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_SCHEMA not supported
- cmake not generating Xerces_autoconf_config.hpp header for Xerces 3.2.5 build on windows
- XSD Schema validation throws SAXParseException in java application using Xerces fails when there are external xsd's included in the Parent
- Xercesimpl 2.11.0 shows missing in Eclipse Build path though its present in Repository
- JAXP validation returns non-mandatory fields
- "InvalidClassException" for "XMLGregorianCalendarImpl" xercesImpl lib under esapi 2.5.2.0
- Linking erros xerces-c on GNAT
- Xml Reader parsing character outside BMP to surrogate pairs which results in invalid xml
- xercesc::DOMLSParserImpl::doctypeDecl receives wrong input from xercesc for internal and external entity
- RegEx in XML Schema .xsd
- XSD error: a-props-correct.2: Invalid value constraint value '0.00' in attribute
Related Questions in XERCES-C
- How to build Android with Xerces
- How to get internal subset using SAX parser in XercesC?
- Parsing table row links from HTML table in C++
- cmake not generating Xerces_autoconf_config.hpp header for Xerces 3.2.5 build on windows
- How can I Install debug and release binaries of xerces-c without running the cmake command to generate the build directory twice?
- Avoid removal of HTML tags from XSD annotations by Xerces
- libxercesc can not catch exception only on Solaris
- xercesc::DOMLSParserImpl::doctypeDecl receives wrong input from xercesc for internal and external entity
- XercesDOMParser fails if the attribute value contains ampersand
- Failed to find XercesC
- Use Xerces library in a C++ project on eclipse
- Xalan link failure using libraries built from source
- How to iterate through an xml file if only the root node is provided
- XercesDOMParser scoped instantiation causes segfault
- Why is shared_ptr returning an empty list?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It sounds like what you want is something like Python's pulldom which Xerces does not offer.
If you are beholden to Xerces and memory is a primary concern, you could use Xerces SAX (push) parser to populate a data structure with only the data from the XML that you care about. Then you could "randomly" access the data that you are interested in.
If you are free to use other libraries, you might look into a StAX (pull) parser. Although, I think you will still have to implement your own data structure to hold the data you're interested in. I'm not aware of a C++ equivalent of Python's pulldom.