[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Data extraction

Subject: Re: Data extraction
From: "Mailing Lists Mail daktapaal@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Dec 2018 19:50:32 -0000
Re:  Data extraction
Thanks David.

On Mon, Dec 17, 2018, 2:38 PM David Carlisle d.p.carlisle@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx wrote:

> On Mon, 17 Dec 2018 at 19:31, Mailing Lists Mail daktapaal@xxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > David,
> > Thanks for the reply. My apologies, i didn't give example of my XML. The
> XML contains single occurance of ElementToExtract/ node. In which case I
> thought that instead of going through the whole tree, jumping to the
> element using descendant::*:ElementToExtract is firstly small in code and
> secondly eleminating the useless node traversal ?
> >
> > Wanted to validate my thought ..
> >
> well still it may or may not be quicker, in particular if the element
> is near the top of the tree the apply templates iteration will stop
> quickly but the descendant::*:ElementToExtract in principle forces a
> search of the whole document to find all the occurrences, as (assuming
> no schema processing) xslt doesn't know there is only one. Of course
> it might not need to search the document as the element names may have
> been pre-indexed, but in ether case adding [1] to the end wouldn't
> hurt and would make it stop after finding the element.
>
> David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.