Чем открыть xml-файл объемом 3.2 Гб (и преобразовать данные в таблицу)?
Есть xml файл из open data размером 3,2 гб.
Задача — извлечь из него данные, преобразовав в табличную форму.
Эксель не справляется с таким объемным файлом.
Какой программой можно открыть и преобразовать данные?
В form1 открыть таблицу Excel, куда вносить данные, а в form2 — таблицу с уже рассчитанными показателями
Всем доброго времени суток. Имеется файл екселя в котором есть таблицы в которые заносятся данные.
Преобразовать HTML таблицу в XML
Можете ли подсказать какой-нибуть скрипт на php перевода из html в xml. У меня есть html в ней.
Как преобразовать XML в HTML таблицу?
Дорогие друзья! Помогите пожалуйста! Как XML с таким содержанием преобразовать в HTML таблицу? .
На внешний жесткий диск объемом более 300 Гб не_возможно записать файл объемом более 5 Гб
Может я не совсем в тему. Проблема заключается в том, что на жесткий внешний диск объемом более.
Сообщение от z_sergey
1 запись ориентировочно 1500 знаков
это приведет к 2млн записей —и ексель придется резать
Large XML file editor and validator — The fastest way to view and edit big data

View and edit large XML data — not limited to well-formed input
- Use the «Large File» functionality to open, view and edit multi-GB XML content in XML ValidatorBuddy+
- Works also for not well-formed XML, JSON and any other text file.
- Jump and scroll to any line instantly.
- Syntax-coloring for huge XML and JSON files.
- Full text search and replace. Scan 1 Million lines in less than 5 seconds.
Download and try the large XML file editor in XML ValidatorBuddy+ now:
Validate large XML data — without extra memory consumption
- Validate huge XML documents directly from the built-in File-Explorer.
- Run well-formed checks for XML input of any size.
- Convenient jump-to-error functionality.
- Get all validation errors at once.
- Those features are also available in the standard edition of XML ValidatorBuddy.

XML ValidatorBuddy offers support for viewing, editing, and validating multi-GB XML data directly within the XML editor for large files. The application consistently uses approximately the same amount of memory to view files, regardless of the XML size. XML ValidatorBuddy does not require the entire text to be stored in memory for validation or display within the application.
Please note: The large file editor requires the Plus edition of the XML ValidatorBuddy editor.
Screencast: View and edit large XML data
In this screencast, you will learn how to use XML ValidatorBuddy, a powerful tool for working with large XML data. You will see how it can open, view, edit, and check huge XML documents without consuming much memory.
Screencast: Validate large XML data
This screencast demonstrates how XML ValidatorBuddy can validate large XML data with just a few clicks. The file can be validated without being loaded into the XML editor and the process can also be initiated from the command line (CLI).
Editor for large XML content — Open, validate and edit files with millions of lines
Any document exceeding a certain size, which can be set in the application’s settings, will be opened using the Large File view in XML ValidatorBuddy. The screenshot below shows the editor after loading an original OSM document containing the geographical information of Bolivia. The document is about 2.8 GB and has more than 50 million lines of XML data. By clicking the ‘Start editing’ button, you can modify the content in the editor.
At line 50,240,344 of the XML data, a comment has been added as can be seen in the screenshot below:

Performance tests on working with large XML
The tables below demonstrate the speed at which XML ValidatorBuddy can open and validate large XML input. It is important to note that most other XML software is unable to handle XML data of this size. These figures were intentionally obtained on medium-class PC systems.
Is there a text editor that can open big XML files?
So I wanted to get identicons of Stack Overflow users and decided to try and get the Users.xml file, and opened it in the following:
- MS Word 2010 — I currently own this version, and the XML file doesn’t want to load, and led to an error.
- Notepad — I tried to open it, but it doesn’t support very big files (the one I got was 645 MB).
- MS XML Editor (not sure which version) — Just like Word, it lead to an error.
- Code Writer — This one actually scared me. I decided to open it and decided to wait for a long time, until my computer started having issues, like low FPS, and I decided to turn off and on my laptop (Win10), and uninstall the app. I brought it back and there were no more issues.
So none of these work, and now I’m hoping to get an app or a text editor that can handle huge files without crashing the OS.
So is there some app I can use to open big XML files?
![]()
4 Answers 4
There are quite a few. The universal editors that can handle huge files are Emacs and XEmacs. They are both available for most platforms and I have been using those on Linux and Windows 10 where I am frequently work with files in the 100s of MBs. The main thing to know is that these editors load the entire file at once, so if you have enough RAM, it will be fast, otherwise the system will fallback to swap space.
For a Window specific solution, there is a program unsurprisingly called Large Text File Viewer which handles files in the gigabytes. This is good is you want to view files but do not need to modify them. It is a simple binary that can be executed directly without installation.
CudaText editor (it’s FOSS) supports big files rather good. Only before the opening, allow big sizes via the option in "user.json":
Then it can load files up to 1000Mb. "Lite lexer" XML^ must support your huge file, https://wiki.freepascal.org/CudaText#Lite_lexers .
Currently few lite lexers are made: XML ^, JSON ^, Log files ^, SQL ^. You can also choose them, from the usual lexers menu (they are visible by suffix).
Методы работы с «тяжёлыми» XML

На работе попросили провести исследование какими средствами лучше разбирать объёмный XML файл (более 100Mb). Предлагаю сообществу ознакомиться с результатами.
Рассмотрим основные методы работы с XML:
Simple XML
Минусы: работает очень медленно, собирает весь файл в память, дерево составляется в отдельных массив.
Плюсы: простота работы, работа «из коробки» (требует библиотеки libxml которая включена практически на всех серверах)
Минусы: работает очень медленно, как и все предыдущие примеры собирает весь файл в память.
Плюсы: На выходе привычный DOM с которым очень легко работать.
xml_parser и XMLReader.
Предыдущие 2 нам не подходят из-за работы с целым файлом, т.к. файлы у нас бывают по 20-30 Mb, и во время работы с ними некоторые блоки образуют цепочку (массив) в 100> Mb
Оба способа работают чтением файла построчно что подходит идеально для поставленной задачи.
Разница между xml_parser и XMLReader в том что, в первом случае вам нужно будет писать собственные функции которые будут реагировать на начало и конец тэга.
Проще говоря, xml_parser работает через 2 триггера – тэг открыт, тэг закрыт. Его не волнует что там идёт дальше, какие данные используются и т.д. Для работы вы задаёте 2 триггера указывающие на функции обработки.
В XMLReader всё проще. Во первых, это класс. Все триггеры уже заданы константами (их всего 17), чтение осуществляется функцией read() которая читает первое вхождение подходящее под заданные триггеры. Далее мы получаем объект в который заносится тип данных (аля триггер), название тэга, его значение. Также XMLReader отлично работает с аттрибутами тэгов.