Subject: Re: [xsl] Selecting elements from source document based on matches to a second document From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 6 Mar 2023 03:51:42 -0000 |
On Mon, Mar 06, 2023 at 03:12:08AM -0000, Trevor Nicholls trevor@xxxxxxxxxxxxxxxxxx scripsit: > The requirement (preferably XSL 2) is to filter a log of source code edits by > a list of paths held in a separate document. I can't believe there's not an > elegant way of doing this in XSL but I haven't yet managed to find one. In 3, there's xsl:evaluate. In 2, you can write a stylesheet to construct a stylesheet. If you use this approach to consume the document with the path lists and produce the transform that will report on the presence or absence of something at that path once you run it on the log, you get something reasonably efficient. (This is still generally maybe more of an XQuery kind of thing.) -- Graydon Saunders | graydonish@xxxxxxxxx ^fs oferiode, pisses swa mfg. -- Deor ("That passed, so may this.")
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Selecting elements from sourc, Trevor Nicholls trev | Thread | Re: [xsl] Selecting elements from s, Liam R. E. Quin liam |
[xsl] Selecting elements from sourc, Trevor Nicholls trev | Date | Re: [xsl] having a template remembe, Joel Kalvesmaki dire |
Month |