On Mon, Jan 05, 2004 at 10:27:39PM -0500, Eric Lease Morgan wrote:
> Since my original implementation is still the fastest, and the newer
> implementations do not improve the speed of the application, then I must
> assume that the process is slow because of the XSLT transformations
> themselves. Th
Eric Lease Morgan wrote:
Since my original implementation is still the fastest, and the newer
implementations do not improve the speed of the application, then I must
assume that the process is slow because of the XSLT transformations
themselves. These transformations are straight-forward:
# tra
On Monday, January 5, 2004, at 10:27 PM, Eric Lease Morgan wrote:
Fourth, I tried both of these approaches plus my own, and timed them.
I had
to process 1.5 MB of data in nineteen files. Tiny. Ironically, my
original
code was the fastest at 96 seconds.
Yikes!
The XSLT implementation came in se
I wrote:
> Can you suggest a fast, efficient way to use Perl to extract selected
> data from an XML file?...
First of all, thank you everyone who promptly replied to my query.
Second, I was not quite clear in my question. Many people said I should
write an XSLT style sheet to transform my XML do
On Monday, January 5, 2004, at 03:54 PM, Eric Lease Morgan wrote:
To create my HTML files with rich meta data, I need to extract bits and
pieces of information from the teiHeader of my originals. The snippet
of
code below illustrates how I am currently doing this with XML::LibXML:
[...]
The co
On Mon, Jan 05, 2004 at 03:54:09PM -0500, Eric Lease Morgan wrote:
> The code works, but is really slow. Can you suggest a way to improve my code
> or use some other technique for extracting things like author, title, and id
> from my XML?
It's slow because you're building a DOM for the entire doc
Can you suggest a fast, efficient way to use Perl to extract selected data
from an XML file?
I am in the process of re-writing my Alex Catalogue of Electronic Texts. In
this re-write I will be marking up items in the collection as TEI/XML files.
These files will them become my archival copies of