Re: Xml Question

Liam R E Quin <[email protected]> Thu, 04 Jul 2019 09:28:26 -0400
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
On Thu, 2019-07-04 at 10:33 +0100, Ashjan Alsulaimani wrote:
> 
> 
> What's the best way to approach such a task and the most efficient
> way as I'm dealing with Medline database!

If your input files are a few hundred megabytes or less, start with the
XSLT identity transform and add empty templates to match what you want
to delete.

If your input is over a gigabyte (say) or you do lots of different
subsets of the same document, you may find XQuery update works better
for you, with a databaase (e.g. BaseX or eXistb).

Liam


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Upcoming courses: DocBook (sold out); CSS for XML People