Re: [xml] Xml Question

2019-07-05 Thread Eric Eberhard
n' ; 'Ashjan Alsulaimani' ; xml@gnome.org Subject: Re: [xml] Xml Question Dear Ashjan, If it was me I'd do it the cheap way and not use the parser. Get the file and then read through it with your favorite language and look for starting tags you want moved, then scan until you hit the ending tag, wr

Re: [xml] Xml Question

2019-07-05 Thread Eric Eberhard
, July 05, 2019 2:24 PM To: Eric Eberhard ; 'Ashjan Alsulaimani' ; xml@gnome.org Subject: Re: [xml] Xml Question On Fri, 2019-07-05 at 12:18 -0700, Eric Eberhard wrote: > Dear Ashjan, > > If it was me I'd do it the cheap way and not use the parser. Make sure to handle markup in comments

Re: [xml] Xml Question

2019-07-05 Thread Liam R E Quin
On Fri, 2019-07-05 at 12:18 -0700, Eric Eberhard wrote: > Dear Ashjan, > > If it was me I'd do it the cheap way and not use the parser. Make sure to handle markup in comments and CDATA sections properly,and to process external files included with XInclude or by entities defined in the DTD.

Re: [xml] Xml Question

2019-07-05 Thread Eric Eberhard
Alsulaimani ; xml@gnome.org Subject: Re: [xml] Xml Question 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

Re: [xml] Xml Question

2019-07-04 Thread Liam R E Quin
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

Re: [xml] Xml Question

2019-07-04 Thread Shlomi Fish
Hi, On Thu, 4 Jul 2019 10:33:39 +0100 Ashjan Alsulaimani wrote: > Dear XMLers > > I have an urgent question and I am not sure if you want to answer me or not > but lets try... > > my question is I would like to create a subset of xmls files from an > original xmls while keeping the same