[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting elements from source document based on
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.")
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|