[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Daisy chaining XSLT and also how can I check wheth
Paul, I did take a quick look at the xprocs link earlier - but, from my experience, the env I am in kind of discourages bringing new software in... Now that I've gotten past that exslt question, I'll try to do some checking if they would go that route, but also, meanwhile, I am going to have to give the chaining approach a try. Thanks! Jim On Wednesday, August 7, 2024 at 12:54:22 PM EDT, Paul Tyson <phtyson@xxxxxxxxxxxxx> wrote: Is XProc [1] possible in your solution space? It was designed for this sort of problem. bPaul [1]B https://xproc.org/ On Aug 7, 2024, at 10:36, ohaya ohaya@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: o;?Hi, Currently, I am currently working with a product that outputs syslog output that is formatted as XML, and the product also supports configuring an XSLT that will process the raw syslog XML from the product, before sending the transformed output to the syslog server target. The product comes with a number of "out-of-the-box" (OOTB) XSLTs to support different brands of SIEMs, like ArcSight, Splunk, etc. The version of the XSLT appears to be "1.0". We want to modify several of those OOTB XSLTs, but they are fairly large and our modification would only alter one of the elements in the OOTB syslog messages, so I wanted to implement an XSLT that just transforms that one element, and then somehow causes the modified XML from my XSLT to be processed by one of the OOTB XSLTs. So, functionally, what I am looking to do is as follows: Original flow:B Product outputs syslog XML ==> <an OOTB XSLT> ==> syslog server/syslogd Modified flow: Product outputs syslog XML ==> <my XSLT> ==> <an OOTB XSLT> ==> syslog server/syslogd BUT, what I mean by the "<my XSLT> ==> <an OOTB XSLT>" part of the flow, is NOT that the output of my XSLT is "sent" to the OOTB XSLT, but rather, somehow MY XSLT would cause the OOTB XSLT to be processed. [Apologies for the somewhat confusing verbiage :( !] So, I was doing some searching and found these: https://stackoverflow.com/questions/54814182/performing-chain-of-transformati ons-in-xslt and: https://stackoverflow.com/questions/4571956/is-daisy-chaining-xslt-an-accepte d-practice >From those threads above, it sounds like what I thinking of doing is POSSIBLE, but one of the requirements is the availability of an extension: ext:node-set So I wanted to find out: a) How can I check that the XSLT processor supports that extension?B Is there like a small XSLT that I can test that would tell me whether or not the XSLT processor that is running the XSLT supports that ext:node-set extension?B B FYI, when I am doing development of my XSLT, I am testing my XSLT initially using xsltproc on a CENTOS machine, then, once my XSLT works, I then copy my XSLT over to the product, and configure the product to use my XSLT, and so far that much is working... b) Also, I am wondering if anyone here has tried something like what I am describing, the "daisy-chaining" of XSLTs?B If so, are there any other "gotchas"? Thanks,Jim XSL-List info and archiveEasyUnsubscribe(by email)
|
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
|