Subscribe to the XSL-List Blog in XML format
RSS 2.0
Atom 0.3

The XSL-LIST Blog

The XSL-List Blog's mission is to increase the level of XSL knowledge and usage in the software development community. It's a service by Mulberry Technologies, and the list is by far the most popular XSL development forum in the world — in fact, some of the inventors of XSL hang out there and respond to questions. Got a stylesheet emergency? Want to contribute to the XSL community? visit the XSL-List blog today!


Re: Seek your recommendation on how to report differen

Posted 11/15/2024 6:35:56 PM

> > Question: how do you recommend reporting differences between two <row> element sequences? Depends on how smart you want to be and on what kind of differences you want to handle. If you want to do it really well, take a look at what a product like DeltaXML does, and then try to be b . . . Read full entry »


Re: Seek your recommendation on how to report differen

Posted 11/15/2024 4:59:36 PM

> Question: how do you recommend reporting differences between two <row> element sequences? You will have to do what deep-equal() is doing, and report the first found difference. Optionally, you may continue the comparison and report **all** found differences. Another, maybe simpler way, . . . Read full entry »


Re: Seek your recommendation on how to report differen

Posted 11/15/2024 3:31:40 PM

On Fri, Nov 15, 2024 at 02:14:20PM -0000, Roger L Costello costello@xxxxxxxxx scripsit: > Question: how do you recommend reporting differences between two <row> element sequences? First question - is this positional? that is, you always want to compare row in position 1 to row in position . . . Read full entry »


Seek your recommendation on how to report differences

Posted 11/15/2024 2:14:11 PM

Hi Folks, What does it mean to compare two sequences of <row> elements, where each <row> element has (leaf) child elements? Suppose sequence #1 has this <row> element: <row> <DESC>-</DESC> </row> If there is no <row> in sequence #2 . . . Read full entry »


Re: Saxon documentation references defunct expath file

Posted 11/12/2024 10:32:15 AM

This is a mixed content issue caused by the css being served with a hard coded http://... See https://github.com/expkg-zone58/ex-xparse/issues/3 for another example. Now current versions of Firefox (at least on Windows) block the mixed content css load, but also force the upgrade from http: to http . . . Read full entry »


Re: Saxon documentation references defunct expath file

Posted 11/12/2024 9:17:19 AM

> On 12 Nov 2024, at 07:56, Norm Tovey-Walsh ndw@xxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > >> This SAXON documentation page: >> https://www.saxonica.com/html/documentation12/extensions/functions/expath.htm l >> >> references this page: >> . . . Read full entry »


Re: Saxon documentation references defunct expath file

Posted 11/12/2024 7:55:49 AM

> This SAXON documentation page: > https://www.saxonica.com/html/documentation12/extensions/functions/expath.htm l > > references this page: > > https://expath.org/spec/file > > That latter page contains garbage. In what sense, garbage? When I follow that link, I get the b . . . Read full entry »


Re: Saxon documentation references defunct expath file

Posted 11/11/2024 6:00:29 PM

Hi Roger, I suggest filing an issue on the bug-tracker site mentioned here: https://www.saxonica.com/support/support.xml Saxonica have been wonderfully responsive to documentation-related requests for me. - Chris On Mon, Nov 11, 2024 at 10:48b/AM Roger L Costello costello@xxxxxxxxx < xsl . . . Read full entry »


Re: Copy XPATH

Posted 11/11/2024 3:55:17 PM

As Martin Honnen noted, in XPath or XSLT ver 3+ one can use the standard path() function - https://www.w3.org/TR/xpath-functions-31/#func-path For a solution with XSLT 1.0 (or 2.0) see this Stack Overflow answer: https://stackoverflow.com/a/4747858/36305 Thanks, Dimitre On Mon, Nov 11, 2024 at 7 . . . Read full entry »


Saxon documentation references defunct expath file mod

Posted 11/11/2024 3:48:06 PM

This SAXON documentation page: https://www.saxonica.com/html/documentation12/extensions/functions/expath.htm l references this page: https://expath.org/spec/file That latter page contains garbage. . . . Read full entry »


Aw:  Copy XPATH

Posted 11/11/2024 3:31:56 PM

XSLT/XPath 3 have a "path()" function. I am trying to copy XPATH along with attributes value in an OUTPUT xml file. XML:<bb> <as id="ENCA" major.version="6" minor.version="0"> <tl>The Title</tl> <b/> <ts id="ENCA_GC&quo . . . Read full entry »


Copy XPATH

Posted 11/11/2024 3:28:51 PM

Hi, I am trying to copy XPATH along with attributes value in an OUTPUT xml file. XML: <bb> <as id="ENCA" major.version="6" minor.version="0"> <tl>The Title</tl> <b/> <ts id="ENCA_GC"> <tl>TS Titl . . . Read full entry »


Re: Xslt Logo ?

Posted 11/9/2024 11:35:22 AM

Another for consideration? Stood for a while on this list. regards On Fri, 8 Nov 2024 at 09:54, Michael Kay michaelkay90@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > > > At one point when i worked at W3C i requested logos for XML, XSLT, > > XQuery etc., . . . Read full entry »


Re: Can the SAXON SCM tool get the annotations in a s

Posted 11/8/2024 3:30:11 PM

Sorry, no, the SCM format doesn't retain annotations. It's been on our TODO list for years but hasn't made it to the top. In fact, Saxon discards annotations immediately during the first phase of schema parsing. Michael Kay Saxonica > On 8 Nov 2024, at 15:19, Roger L Costello costello@xxxxxxx . . . Read full entry »


Can the SAXON SCM tool get the annotations in a schema

Posted 11/8/2024 3:19:08 PM

Hi Folks, The SAXON Schema Component Model (SCM) tool is great. With a push of the button I get a single file describing all the elements, attributes, simpleTypes, and complexTypes in all the schema files. In my case, the schema is comprised of 20 files; it's nice to have a consolidated view of th . . . Read full entry »


Re: Xslt Logo ?

Posted 11/8/2024 11:06:10 AM

On Fri, 2024-11-08 at 09:55 +0000, Michael Kay michaelkay90@xxxxxxxxx wrote: > > > > At one point when i worked at W3C i requested logos for XML, XSLT, > > XQuery etc., because HTML 5 had just got one. > > > I always thought the HTML5 logo was culturally quite inappropria . . . Read full entry »


Re: Xslt Logo ?

Posted 11/8/2024 10:08:23 AM

On 8 November 2024 09:55:18 "Michael Kay <michaelkay90@xxxxxxxxx> wrote: [C"BB&] > Possibly even curly braces rather than angle brackets! \XSLT{C0BB'B} P . . . Read full entry »


Re: Xslt Logo ?

Posted 11/8/2024 9:54:51 AM

> At one point when i worked at W3C i requested logos for XML, XSLT, > XQuery etc., because HTML 5 had just got one. I always thought the HTML5 logo was culturally quite inappropriate. Very American, very masculine. If I were to commission one for XSLT I would ask for softer colours, elega . . . Read full entry »


Re: Xslt Logo ?

Posted 11/8/2024 7:12:32 AM

Thank you, Chris ! Christophe Le 07/11/2024 \xE0 21:13, Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx a \xE9crit\xA0: > > Hi Christophe, > > Here you go (scroll down for the SVGs): > > https://www.oxygenxml.com/oxygen_logos.html > > * Chris > > *From . . . Read full entry »


Re: Xslt Logo ?

Posted 11/8/2024 7:11:49 AM

Thanks a lot ! Christophe Le 07/11/2024 \xE0 21:40, Peter Flynn a \xE9crit\xA0: > On 07/11/2024 08:00, Christophe Marchand cmarchand@xxxxxxxxxxxxxx wrote: >> Hello ! >> >> is there an official, semi-official, non-official XSLT logo I could >> use in a slide ? I'd prefe . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 8:41:00 PM

On 07/11/2024 08:00, Christophe Marchand cmarchand@xxxxxxxxxxxxxx wrote: Hello ! is there an official, semi-official, non-official XSLT logo I could use in a slide ? I'd prefer a non-commercial product logo... I made one in the style of the XML logo. Feel free... https://xml.silmaril.ie/xsltl . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 8:13:54 PM

Hi Christophe, Here you go (scroll down for the SVGs): https://www.oxygenxml.com/oxygen_logos.html * Chris From: Christophe Marchand cmarchand@xxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, November 7, 2024 2:35 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subjec . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 7:35:15 PM

Thanks to all of you for your responses ! I now have to find something else to put in my slides... Probably an oXygen icon... @oXygen guys : do you have a "correct" definition of your Xslt logo ? Best regards, Christophe Le 07/11/2024 \xE0 20:05, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 7:05:10 PM

On Thu, 2024-11-07 at 07:59 +0000, Christophe Marchand cmarchand@xxxxxxxxxxxxxx wrote: > > is there an official, semi-official, non-official XSLT logo I could > use in a slide ? I'd prefer a non-commercial product logo... At one point when i worked at W3C i requested logos for XML, XSLT, . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 9:31:11 AM

On 7 November 2024 08:00:09 Christophe Marchand <cmarchand@xxxxxxxxxxxxxx> wrote: > is there an official, semi-official, non-official XSLT logo I could use in > a slide ? I'd prefer a non-commercial product logo... Not as far as I know. The original red <?XML!> logo (as in the . . . Read full entry »


Re: Xslt Logo ?

Posted 11/7/2024 9:04:22 AM

I think the answer is no. Michael Kay > On 7 Nov 2024, at 08:00, Christophe Marchand cmarchand@xxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hello ! > > is there an official, semi-official, non-official XSLT logo I could use in a slide ? I'd prefer a non . . . Read full entry »


Xslt Logo ?

Posted 11/7/2024 7:59:41 AM

Hello ! is there an official, semi-official, non-official XSLT logo I could use in a slide ? I'd prefer a non-commercial product logo... Thanks in advance, Christophe . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/4/2024 4:07:40 PM

Hello, Joel's story suggests something I have seen myself. It's not so much that XSLT is good or hard or intelligible or not, but that in general and across the board, 'teams' seem to be made up of players who do not encroach on others' positions and have no curiosity about what their co-workers d . . . Read full entry »


Re: What types of programming problems is XSLT designe

Posted 11/4/2024 2:00:25 PM

XSLT is not necessarily the ideal language when you have to parse stuff that is not XML. (And, to M. Kay\x92s point, a lot of the juicy bits of the average XSLT program are not XML, but rather XPath.) ________________________________ It's more about what the data says than the fact that it is in X . . . Read full entry »


Re: What types of programming problems is XSLT designe

Posted 11/4/2024 1:21:51 PM

It's more about what the data says than the fact that it is in XML. In some cases reading the XML is trivial, but doing the work is not something suited to XSLT. For example when XML is used to express a program, XSLT is not the best program interpreter. If the XML was a list of email addresses a . . . Read full entry »


What types of programming problems is XSLT designed fo

Posted 11/4/2024 1:02:00 PM

Yesterday Michael Kay wrote: ---------------------------------------------- XSLT has always been designed as a special-purpose programming language rather than a general-purpose language, and writing compilers is not one of those special purposes. ---------------------------------------------- I un . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 8:52:59 PM

On 03/11/2024 21:12, Joel Kalvesmaki director@xxxxxxxxxxxxx wrote: In recent conversation with a developer who was deploying some of my XSLT code in a .NET framework, I tried to help him appreciate what global parameters are, and how they need to be exposed to his C# applications. I showed him a bi . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 8:12:16 PM

I've found that the reason for this resistance is a combination of the following: In recent conversation with a developer who was deploying some of my XSLT code in a .NET framework, I tried to help him appreciate what global parameters are, and how they need to be exposed to his C# applications. . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 5:25:26 PM

Hi Roger, > The project is in its early stages. There might be an opportunity to convince people to use XSLT > rather than Java. What argument should I make to persuade them to use XSLT? Maybe instead of arguing, organize a small programming competition on solving an XML-processing - relate . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 1:03:06 PM

https://en.m.wikipedia.org/wiki/Technical_debt Sent from Nine<http://www.9folders.com/> ________________________________ From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Sunday, November 3, 2024 6:55 AM To: xsl-list@xxxxxxxxxxxxxxxx . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 12:03:19 PM

On 03/11/2024 10:47, Roger L Costello costello@xxxxxxxxx wrote: [...] I don't understand why anyone would not use XSLT to process XML documents. You are not alone, except that there do exist other languages which process XML, such as Omnimark, and there are libraries for all the major programming . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 11:54:41 AM

Hi Alan, You wrote: ... technical debt ... What is technical debt? /Roger . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 11:33:15 AM

Hey Roger, As a long-time XSLT evangelist, I'm often struggling with the resistance to using XSLT on XML/JSON/other structured data. I've found that the reason for this resistance is a combination of the following: a) XSLT is outside of most developers' comfort zone b) Some people are familiar w . . . Read full entry »


Re: Why do some people not use XSLT to process XML-fo

Posted 11/3/2024 11:30:45 AM

> I don't understand why anyone would not use XSLT to process XML documents. The XSLT language was explicitly designed for processing XML documents, i.e., XSLT is a domain specific language (DSL). When a DSL exists, shouldn't it always be chosen over a general-purpose language such as Java? Peo . . . Read full entry »


Why do some people not use XSLT to process XML-formatt

Posted 11/3/2024 10:47:21 AM

Hi Folks, I am working on a project that has created a large XML Schema. The creators of the XSD deliberately avoided using xs:choice and several other XSD constructs (instead of xs:choice, they used xs:sequence containing optional elements). They did this because: (1) the XML documents -- which c . . . Read full entry »


XSL-List Guidelines

Posted 11/1/2024 2:17:16 PM

This information is posted to the XSL-List (and the XSL-List Digest) at intervals under the subject line "XSL-List guidelines". INTRODUCTION TO XSL-LIST XSL-List hosts discussion of XSL itself, XSL applications and implementation, and XSL user questions. XSL-List is open to everyone, us . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/31/2024 7:28:03 AM

Hi Folks, Thank you for your excellent responses! To answer your questions: > Does the mapping file have a way to express things that might be context or content dependent? Yes. There were cases in which multiple legacy elements had the same name, but with different parent elements, and they . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/30/2024 11:05:24 PM

On Wed, 2024-10-30 at 11:45 +0000, Roger L Costello costello@xxxxxxxxx wrote: > > To implement the conversion, I used a pipeline approach.B This is a cool approach, yes. Did you write the XSLT out to a file, or did you use fn:transform() to evaluate the generated XSLT by giving it a styles . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/30/2024 10:30:20 PM

Did you use namespace-aliasing? I found it pretty much essential when writing XSLT that wrote XSLT that wrote XSLTb& otherwise having to use xsl:element is rather tediousb& John Lumley john@xxxxxxxxxxxxxx > On 30 Oct 2024, at 11:45, Roger L Costello costello@xxxxxxxxx <xsl-list-serv . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/30/2024 5:03:49 PM

There are different possible variations of the "multi-step transformation" pattern. Besides generating an XSLT stylesheet in the last step - which is similar to "compiling", one could alternatively have an XSLT transformation that interprets the final produced rules-result - in . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/30/2024 5:01:57 PM

Hi Roger, This sounds like really useful generalized solution! It also shows benefits of doing up analysis and tooling work up front. Thank you for sharing! Does the mapping file have a way to express things that might be context or content dependent, such as variations in how a particular elemen . . . Read full entry »


Re: I wrote an XSLT program that converts a mapping XM

Posted 10/30/2024 3:54:04 PM

Hey Roger -- You are so right about XSLT as a transpiler and support framework for DSLs. All the files in an OSCAL release, such as https://github.com/usnistgov/OSCAL/releases/tag/v1.1.2, are produced using XSLT. (Currently. That may change!) This includes XSDs, JSON Schemas, and XSLTs. Look at s . . . Read full entry »


I wrote an XSLT program that converts a mapping XML fi

Posted 10/30/2024 11:45:37 AM

Hi Folks, I created an XML file (a "mapping file") that describes how to convert a legacy XML format into a new XML format. To implement the conversion, I used a pipeline approach. The first step is an XSLT program that converts the mappings (in the mapping file) into a bunch of templat . . . Read full entry »


Declarative Amsterdam 2024 reminder

Posted 10/23/2024 12:02:48 PM

Reminder: In two weeks, November 7 and 8, the Declarative Amsterdam 2024 conference will be held. This year's <https://declarative.amsterdam/program> program contains a variety of technical and non-technical topics, such as: Affix grammars, Answer Set Programming, banking, custom elements, . . . Read full entry »


Re: XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 3:43:19 PM

I've always said: XSLT requires real intelligence. On Tue, Oct 22, 2024, 10:06 Frank Dissinger frank.dissinger@xxxxxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Great! The script works fine now! Many, many, thanks!!! > > I hope I can dig deeper into this XSL matter o . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 8:06:11 AM

Great! The script works fine now! Many, many, thanks!!! I hope I can dig deeper into this XSL matter one day. But it's difficult in a one-man techwrite department. There's just not enough time. (Everybody praises AI. But it's obviously not as smart as I thought...) -----UrsprC<ngliche Nachric . . . Read full entry »


Re: XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 7:56:17 AM

On 22/10/2024 09:48, Frank Dissinger frank.dissinger@xxxxxxxxxxxx wrote: There is still one issue. The "level" variable seems to remain empty. It is supposed to be a number which indicates the nesting level of the heading and should become part of the value of the "class" attrib . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 7:41:57 AM

Many, many thanks, Martin. Now the TOC is created (almost) as expected. I understand that the logical error was to test for IDs which are not available in the input file because they were generated by the transformation. There is still one issue. The "level" variable seems to remain emp . . . Read full entry »


Re: XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 7:32:00 AM

On 22/10/2024 08:41, Martin Honnen martin.honnen@xxxxxx wrote: <!-- Template to generate the TOC --> B <xsl:template mode="step2" match="div[@id='rn_toc']"> B B B <xsl:copy> B B B B B <xsl:apply-templates select="@*"/> B B B B B <xsl:appl . . . Read full entry »


Re: XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 6:41:33 AM

Frank, as Wendell pointed out, you seem to want two different processing steps, if you want to do that in one XSLT stylesheet (instead of chaining two) use modes <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet B xmlns:xsl="http://www.w3.org/1999/XSL/Transfo . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/22/2024 5:53:16 AM

Hi Wendell Thank you for your reply. I have attached the input HTML file to this message. Frank Dissinger Documentation Manager .......................................... CGS ORIS GmbH frank.dissinger@xxxxxxxxxxxx | www.cgs-oris.com Kettelerstrasse 24, 63512 Hainburg (Germany) Phone: +49 6182 962 . . . Read full entry »


Re: XSL stylesheet issue - part 2 (newbie)

Posted 10/21/2024 10:06:03 PM

Hello Frank, Your XSLT appears to assume that it can find elements marked with @id attributes, for which it produces links (list items with anchors). But I am guessing there are no such attributes in the input document, because another template in the same XSLT is adding them, and why would it do . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/21/2024 4:04:11 PM

Hi again, I am stuck again. The next and last step in my XSL script is to create the hyperlinked TOC entries for all elements with an ID attribute that starts with the characters btocrefb. With the help of AI, I added some XSL templates. The script is supposed to create a TOC like this: <p c . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/21/2024 1:55:16 PM

Herebs the attachment. COLOR TUNER Version 3.4 Release Notes B) CGS ORIS GmbH b 10/21/2024 ===================================================================== This file describes the additions, modifications and bug fixes in COLOR TUNER Version 3.4. Licensing --------- COLOR TUNER Version 3. . . . Read full entry »


XSL stylesheet issue - part 2 (newbie)

Posted 10/21/2024 1:54:06 PM

Hi again, I am stuck again. The next and last step in my XSL script is to create the hyperlinked TOC entries for all elements with an ID attribute that starts with the characters btocrefb. With the help of AI, I added some XSL templates. The script is supposed to create a TOC like this: <p . . . Read full entry »


XSL stylesheet issue (newbie)

Posted 10/21/2024 11:12:18 AM

Hi Martin, I have added the bxpath-default-namespaceb attribute and now the script indeed produces the expected result. Thank you very much for your great help! The XSL element looks like this now: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" versi . . . Read full entry »


Jats to PDF Course

Posted 10/19/2024 2:17:41 AM

Are you interested in a JATS to PDF with CSS course? Are there specific ares you'd like it to cover? Ibm testing the water here... possibilities might include * basic CSS intro, how CSS actually works * the main CSS formatters compared * pdf accessibility: screen vs print * advanced topics B - . . . Read full entry »


upcoming online courses at Delightful Computing

Posted 10/19/2024 2:16:59 AM

Upcoming: * XSLT 2 to 3 B A course to help XSLT 2 users move to XSLT 3, which has many B new features and can boost productivity and maintainability. B (three days, depending on the people on the course and B your needs) * XSLT Booster B For people who are a little rusty on XSLT 2, B or w . . . Read full entry »


XSL stylesheet issue (newbie)

Posted 10/17/2024 8:16:00 PM

Thank you to all of you for this great feedback! I'll let you know how I get along on Monday. Freundliche GrC<Ce | Best regards Frank Dissinger Documentation Manager .......................................... CGS ORIS GmbH frank.dissinger@xxxxxxxxxxxx | www.cgs-oris.com Kettelerstrasse 24 | 63 . . . Read full entry »


Re: XSL stylesheet issue (newbie)

Posted 10/17/2024 7:24:18 PM

On 17 October 2024 19:07:02 "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: >> >> I admit that I have little to no knowledge of XSLT. ChatGPT was my friend. > > Oh dear. I suppose this is the future of programming. You may b . . . Read full entry »


Re: XSL stylesheet issue (newbie)

Posted 10/17/2024 6:06:37 PM

> I admit that I have little to no knowledge of XSLT. ChatGPT was my friend. Oh dear. I suppose this is the future of programming. Michael Kay Saxonica . . . Read full entry »


Re: XSL stylesheet issue (newbie)

Posted 10/17/2024 6:01:30 PM

Look up the generate-id function if you want a unique id value. Perhaps prefix it with a constant if needed? HTH On Thu, 17 Oct 2024 at 18:21, Frank Dissinger frank.dissinger@xxxxxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Hello everyone, > > The stylesheet below . . . Read full entry »


Re: XSL stylesheet issue (newbie)

Posted 10/17/2024 5:52:07 PM

On 17/10/2024 19:41, Martin Honnen martin.honnen@xxxxxx wrote: >> The stylesheet below is supposed to add a unique 'id' attribute named 'tocref001', 'tocref002' etc. to all <h2>, <h3> and <p class="rn_heading"> elements which are descendants of an element with an ' . . . Read full entry »


Re: XSL stylesheet issue (newbie)

Posted 10/17/2024 5:40:57 PM

On 17/10/2024 19:22, Frank Dissinger frank.dissinger@xxxxxxxxxxxx wrote: > Hello everyone, > > The stylesheet below is supposed to add a unique 'id' attribute named 'tocref001', 'tocref002' etc. to all <h2>, <h3> and <p class="rn_heading"> elements which are des . . . Read full entry »


XSL stylesheet issue (newbie)

Posted 10/17/2024 5:21:40 PM

Hello everyone, The stylesheet below is supposed to add a unique 'id' attribute named 'tocref001', 'tocref002' etc. to all <h2>, <h3> and <p class="rn_heading"> elements which are descendants of an element with an 'id' attribute named 'rn_release_notes'. The script runs . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 3:23:13 PM

I would be inclined to try to set up that filter via @match in xsl:key (creating a second key if necessary), whose primary job is filtering. If special needs are more complicated, I would try to implement those customizations before the key function has to be invoked. key('keyNameC"BB, $k . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 10:17:22 AM

>> key('keyName', $keyValue)[.[1]] > > the effective boolean value of .[1] is always true so that is the same as > key('keyName', $keyValue) > Indeed. key() returns a sequence of nodes, therefore "." in the predicate is always a single node, therefore .[1] is a single n . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 8:55:24 AM

On Fri, 4 Oct 2024 at 09:49, Michael Mueller-Hillebrand michael.mueller-hillebrand@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi Gerrit & Mike, > > wouldn't this short form work: > > key('keyName', $keyValue)[.[1]] > the effective boolean value of .[ . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 8:49:16 AM

Hi Gerrit & Mike, wouldn't this short form work: key('keyName', $keyValue)[.[1]] My bottom line: You have to be careful with position predicates. Thanks, Michael -----Original Message----- From: Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx&g . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 8:26:00 AM

How about key('keyNameb, $keyValue)[not(preceding-sibling::*)] Michael Kay Saxonica > On 4 Oct 2024, at 08:52, Michael Mueller-Hillebrand michael.mueller-hillebrand@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Dear colleagues, > > I am somewhat puzzled by t . . . Read full entry »


Re: Sequence count vs. context position

Posted 10/4/2024 7:58:19 AM

Maybe something like key('keyNameC"BB, $keyValue)/../*[maybe another predicate such as a name test][1] On 04.10.2024 09:52, Michael Mueller-Hillebrand michael.mueller-hillebrand@xxxxxxxxx wrote: Dear colleagues, I am somewhat puzzled by this situation: key('keyNameC"BB, $keyValue)[1 . . . Read full entry »


Sequence count vs. context position

Posted 10/4/2024 7:52:09 AM

Dear colleagues, I am somewhat puzzled by this situation: key('keyNameb, $keyValue)[1] >From an example in Michael Kaybs XSLT 2.0 bible and the description of position(), I learn that this form selects the first item in the sequence of nodes returned by key(). How would I have to write the . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 8:34:55 PM

On Thu, 2024-10-03 at 18:51 +0000, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx wrote: > B Dear list, > > B <xsl:value-of select="replace(.,&#34;([ > C"BB])'&#34;,&#34;$1C"BB&#34;)"/> > B > B I would like to add to this code such t . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:50:39 PM

> Putting either ["] or [&#34;] produces an error since both of these are used in the surrounding code. https://stackoverflow.com/a/12406745/36305 Thanks, Dimitre On Thu, Oct 3, 2024 at 11:50b/AM Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxx . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:45:40 PM

Its `&quot;` not `&#quot;`. Is that the first time Martin Honnen has made a mistake? Michael Kay > On 3 Oct 2024, at 20:38, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Thank you very much for the quick reply! > . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:38:01 PM

Thank you very much for the quick reply! [&#34;&#34;] works in my case. [&#quot;&#quot;] and [""] do not. On 10/3/24 16:31, Martin Honnen martin.honnen@xxxxxx wrote: > > > On 03/10/2024 21:21, Martin Honnen martin.honnen@xxxxxx wrote: >> >> See http . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:30:31 PM

On 03/10/2024 21:21, Martin Honnen martin.honnen@xxxxxx wrote: > > See https://www.w3.org/TR/xpath-31/#prod-xpath31-EscapeQuot, you > should be able to use two double quote characters "". > but as you are inside of XML double quote attribute value delimiters you can't use lit . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:21:33 PM

See https://www.w3.org/TR/xpath-31/#prod-xpath31-EscapeQuot, you should be able to use two double quote characters "". On 03/10/2024 21:15, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx wrote: > On my end, it looks like the encoding of the smart quotation marks in > the code go . . . Read full entry »


Re: escape quotation marks in replace function

Posted 10/3/2024 7:14:40 PM

On my end, it looks like the encoding of the smart quotation marks in the code got mixed up during the transmission of the email (namely, they seem to have been replaced by "\xE2"). I therefore attach a picture of what the code should look like in the email. On 10/3/24 15:51, Wolfhar . . . Read full entry »


escape quotation marks in replace function

Posted 10/3/2024 6:50:46 PM

Dear list, The following replace function replaces a /straight/ single quotation mark (or apostrophe) with a /smart/ single quotation mark when it is preceded by either a space or a /smart double/ quotation mark: <xsl:value-of select="replace(.,&#34;([ C"BB])'&#34;,&#3 . . . Read full entry »


XSL-List Guidelines

Posted 10/1/2024 5:19:09 PM

This information is posted to the XSL-List (and the XSL-List Digest) at intervals under the subject line "XSL-List guidelines". INTRODUCTION TO XSL-LIST XSL-List hosts discussion of XSL itself, XSL applications and implementation, and XSL user questions. XSL-List is open to everyone, us . . . Read full entry »


[ANN] XSpec v3.1.2 Released

Posted 9/30/2024 11:08:50 PM

We are pleased to announce the release of XSpec v3.1.2, the open source unit test and behaviour-driven development framework for XSLT, XQuery, and Schematron. You can get the latest release of XSpec and read the release notes on GitHub. https://github.com/xspec/xspec/releases/tag/v3.1.2 These are . . . Read full entry »


Re: Crawl a website?

Posted 9/27/2024 3:43:10 PM

Thanks Martynas. Easier with XML input. This is my GP surgury website, in HTML, with both internal and external links. regards On Fri, 27 Sept 2024 at 16:37, Martynas JuseviD ius martynas@xxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > I have some XSLT 3.0 code that . . . Read full entry »


Re: Crawl a website?

Posted 9/27/2024 3:37:14 PM

I have some XSLT 3.0 code that crawls Maven's pom.xml files recursively: https://github.com/AtomGraph/POM2RDF On Fri, Sep 27, 2024 at 5:04b/PM Dave Pawson dave.pawson@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Asked to produce a map of a website (not following links . . . Read full entry »


Crawl a website?

Posted 9/27/2024 3:04:29 PM

Asked to produce a map of a website (not following links). Has anyone done this to show pages as nodes to indicate depth please? TiA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 6:43:23 PM

Bob, How about @someAttribute ! tokenize(.)? Guessing a bit (schema-aware?), untested, Wendell -----Original Message----- From: Robert Stuart bobstuart@xxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, September 26, 2024 12:21 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 6:25:26 PM

On Thu, 2024-09-26 at 18:18 +0000, Robert Stuart bobstuart@xxxxxxx wrote: > LOL thatbs funny I did have someone on my team suggest that and said > to myself/them people like Michael and Liam would shame me if I did > that. Ibm not into shaming people (and i donbt think Michael Kay is e . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 6:18:22 PM

LOL thatbs funny I did have someone on my team suggest that and said to myself/them people like Michael and Liam would shame me if I did that. So in your mind is the overhead of the sad turn a list back into a string and tokenize it for EE not a bit deal maybe we go that way. I was wondering if . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 9:23:21 AM

If you're not worried about the slight overhead, you could do `tokenize(string(@attribute))`. Michael Kay Saxonica > On 26 Sep 2024, at 05:33, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > On Thu, 2024-09-26 at 04:21 +0000, Robert Stuart . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 4:32:49 AM

On Thu, 2024-09-26 at 04:21 +0000, Robert Stuart bobstuart@xxxxxxx wrote: > > tokenize(./@someAttribute) works great in HE but bombs in EE with A > sequence of more than one item is not allowed as the first argument > of fn:tokenize() Right. This is because the schema gives @someAttrib . . . Read full entry »


Re: XSLT 3.1 that keeps both Saxon EE and HE happy and

Posted 9/26/2024 4:32:05 AM

On Thu, Sep 26, 2024 at 04:21:07AM -0000, Robert Stuart bobstuart@xxxxxxx scripsit: > I have quite a few attributes whose values are space delimited tokens. > Saxon EE C"BBknowsC"BB they are lists of tokens since the schema does have > them a lists so they can be constrained an . . . Read full entry »


XSLT 3.1 that keeps both Saxon EE and HE happy and to

Posted 9/26/2024 4:20:49 AM

I have quite a few attributes whose values are space delimited tokens. Saxon EE bknowsb they are lists of tokens since the schema does have them a lists so they can be constrained and validated at the XSD level. tokenize(./@someAttribute) works great in HE but bombs in EE with A sequence of more . . . Read full entry »


Upcoming virtual coursesfrom Delightful Computing

Posted 9/26/2024 3:12:49 AM

Hello! Ibm running some XML and Web courses. Exact dates depend on the people taking the courses. All online with a live instructor. (1) Introduction to XSLT With a focus on maintaining and exploring existing XSLT. Gentle. Includes perspective/context on when to use Schematron, XSD, R . . . Read full entry »


Re: Match content within Two Files

Posted 9/26/2024 3:11:51 AM

On Fri, 2024-08-23 at 12:00 +0000, Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx wrote: > Hi, > > How can I take that particular value without impacting other content > in the same line? Did you get sorted out? I donbt see replies to this. liam -- Liam Quin,B https://www.delightfulcomp . . . Read full entry »


Re: [ANN] Upcoming XSpec v3.1

Posted 9/10/2024 2:49:35 PM

Sorry for using formatted text that looks bad in a plain-text view. Trying again... --- We plan to release XSpec v3.1 during the week of September 23, 2024. Please try the release candidate, and feel free to report any bugs, feature requests, or feedback. You may be interested in these changes: . . . Read full entry »


[ANN] Upcoming XSpec v3.1

Posted 9/9/2024 9:33:43 PM

We plan to release XSpec v3.1 during the week of September 23, 2024. Please try the release candidate, and feel free to report any bugs, feature requests, or feedback. You may be interested in these changes: Common to Languages Under Test *XSpec is tested with Saxon 12.5, except that the detailed . . . Read full entry »


Declarative Amsterdam 2024 - Register now

Posted 9/4/2024 9:15:49 AM

Declarative Amsterdam 2024 will be happening at CWI, Amsterdam Science Park on Thursday/Friday November 7 and 8, 2024. * On Thursday morning we start with tutorials on XForms, in-source testing and iXML. Make sure to bring your own device to participate optimally in the hands-on sessions. * The sy . . . Read full entry »


XSL-List Guidelines

Posted 9/1/2024 4:21:28 PM

This information is posted to the XSL-List (and the XSL-List Digest) at intervals under the subject line "XSL-List guidelines". INTRODUCTION TO XSL-LIST XSL-List hosts discussion of XSL itself, XSL applications and implementation, and XSL user questions. XSL-List is open to everyone, us . . . Read full entry »


Re: Match content within Two Files

Posted 8/23/2024 12:04:31 PM

On 23/08/2024 14:00, Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx wrote: > Hi, > > How can I take that particular value without impacting other content > in the same line? > > Example: > > <text>If, however, the payment s 22A(1) made without</text> > should be &g . . . Read full entry »


Match content within Two Files

Posted 8/23/2024 11:59:49 AM

Hi, How can I take that particular value without impacting other content in the same line? Example: <text>If, however, the payment s 22A(1) made without</text> should be <text>If, however, the payment <strf jd="CTH" id="CTH_ACT_1975-91"> <strfact . . . Read full entry »


Re: Match content within Two Files

Posted 8/22/2024 5:31:31 PM

> On 22 Aug 2024, at 17:20, Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hi, > > Here is my code. > > EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/293509> (by email <>) And what exactly is yo . . . Read full entry »


Match content within Two Files

Posted 8/22/2024 4:19:51 PM

Hi, Here is my code. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 2:49:23 PM

Thanks Michael Sent from my dish washer > On 22 Aug 2024, at 15:19, Michael Kay michaelkay90@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > o;? >> >> >> A = B => not() and (A=B) => not() >> >> Are different > > Yes, the ` . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 2:48:52 PM

Get it, makes sense, thanks Sent from my dish washer On 22 Aug 2024, at 14:49, Alan Painter alan.painter@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: o;?The table that Martin pointed out from the specification indicates that it is in order of "lowest to highest& . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 1:18:36 PM

> A = B => not() and (A=B) => not() > > Are different Yes, the `=>` operator has higher precedence than `=`. > > > A/B/C => distinct-values() and (A/B/C) => distinct-values() > > Are the same Yes, the `/` operator has higher precedence than `=>` . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 12:48:38 PM

The table that Martin pointed out from the specification indicates that it is in order of "lowest to highest", hence '=>' (line 16) has higher precedence than '=' (line 5). On Thu, Aug 22, 2024, 14:43 Leo Studer leo.studer@xxxxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> w . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 12:43:48 PM

> Does https://www.w3.org/TR/xpath-31/#id-precedence-order help? Not really, I would expect A = B => not() and (A=B) => not() To be the same since = precedes => . . . Read full entry »


Re: Scope of =>

Posted 8/22/2024 12:35:57 PM

On 22/08/2024 14:23, Leo Studer leo.studer@xxxxxxxxxxx wrote: > Where can I find the specifics? Does https://www.w3.org/TR/xpath-31/#id-precedence-order help? . . . Read full entry »


Scope of =>

Posted 8/22/2024 12:23:38 PM

Hello I wonder about the scope of the => operator I use Oxygen with Saxon-EE 12.3 A = B => not() and (A=B) => not() Are different And A = B => not() and A= (B => not()) Are the same However A/B/C => distinct-values() and (A/B/C) => distinct-values() Are th . . . Read full entry »


Re: Match content within Two Files

Posted 8/19/2024 9:14:02 PM

Can you use file 2 to drive the processing flow? Find the file references in it and open file 1 to find your other details? That way file 2 drives the work flow and file 1 is just there as a lookup table.Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: "B . . . Read full entry »


Re: Match content within Two Files

Posted 8/19/2024 7:20:04 PM

What have you tried? Where did you get stuck? Rather than asking us to write the code for you, a good question explains what you did and how it failed, so we can help you over the next hurdle in your learning curve. Michael Kay Saxonica > On 19 Aug 2024, at 20:12, Byomokesh Sahoo sahoo.byomoke . . . Read full entry »


Match content within Two Files

Posted 8/19/2024 7:12:18 PM

Hi, I have two files. Take the TITLE value from File 1 and match the content in file 2, then placing the tag as per file 1 including <XREFID>, and <LEGNAME>. Find the below File -1 <data> <row> <PARENTELEMENT>para0</PARENTELEMENT> <TITLE>s 588FGA</TI . . . Read full entry »


Devastating News re CM Sperberg-McQueen

Posted 8/19/2024 5:06:34 PM

There is no good way to start this message. There is no good way to share this news. So I'm just going to say it. Michael Sperberg-McQueen died last week. He leaves an enormous hole in many lives, many projects, many working groups, and many conferences. Balisage is hosting an online wake at: ht . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/14/2024 8:35:36 PM

Sorry, just noticed the use of that string is not in the original post.collection($rawditacollectionstring)Is how it was used.Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: "dvint dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Dat . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/14/2024 8:24:01 PM

It is what you want. You use it with the collection call in the for-each. What i discovered here is the uri-collection() call for some reason doesn't use the same format which requires the escaping of the |.The select allows you to specify a selection string. In this case I'm looking for all .dita . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/14/2024 8:19:36 PM

On Wed, 2024-08-14 at 20:12 +0000, Mark Giffin m1879@xxxxxxxxxxxxx wrote: > B Changing the subject a bit, but what is this syntax > '?select=(*.dita|*.xml)' as an argument to concat()? > B > B <xsl:variable name="rawditacollectionString" > B \xA0\xA0\xA0\xA0\xA0\xA0\xA0 . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/14/2024 8:11:53 PM

Changing the subject a bit, but what is this syntax '?select=(*.dita|*.xml)' as an argument to concat()? <xsl:variable name="rawditacollectionString" \xA0\xA0\xA0\xA0\xA0\xA0\xA0 select="concat($rawsrcPath, '?select=(*.dita|*.xml)')"/> I have assumed I could not get a . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/12/2024 8:52:55 PM

Ok, that fixed the problem.B ..danSent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: 8/12/24 1:40 PM (GMT-08:00) To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: R . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/12/2024 8:40:50 PM

> Uh, it indeed seems that uri-collection behaves differently to collection: > Indeed. The URI is invalid because the vertical bar should be escaped as %7C. The collection() function is recovering from that by applying the iri-to-uri() function; the uri-collection() function should probably . . . Read full entry »


Re: Aw: Re: Aw: Re: Processing a list of non-xml files

Posted 8/12/2024 7:45:48 PM

On 12/08/2024 21:20, dvint dvint@xxxxxxxxx wrote: I think I was illustrating the code that was working with that. Anyway, I have it as you show. It seems to be a bug in Saxon with the uri-collection() as I can use the select with a single file extension, as soon as I add the | and the second format . . . Read full entry »


Re: Aw: Re: Aw: Re: Processing a list of non-xml files

Posted 8/12/2024 7:20:00 PM

I think I was illustrating the code that was working with that. Anyway, I have it as you show. It seems to be a bug in Saxon with the uri-collection() as I can use the select with a single file extension, as soon as I add the | and the second format it fails...danSent from my Verizon, Samsung Galax . . . Read full entry »


Re: Aw: Re: Aw: Re: Processing a list of non-xml files

Posted 8/12/2024 6:57:11 PM

On 12/08/2024 19:56, dvint dvint@xxxxxxxxx wrote: So it seems to be the ?select that is failing. If I just set it to a single format *.jpg it works, adding a second format *.jpg|*.png fails. In your original code and question you had B B ?select=(*.dita|*.xml) so based on that you should try B . . . Read full entry »


Re: Aw: Re: Aw: Re: Processing a list of non-xml file

Posted 8/12/2024 5:55:41 PM

So it seems to be the ?select that is failing. If I just set it to a single format *.jpg it works, adding a second format *.jpg|*.png fails.B Trying to figure out which version of Saxon is running in oxygen 26.0 as well as downloading 26.1 to see if it changes...danSent from my Verizon, Samsung Gal . . . Read full entry »


Re: Aw: Re: Aw: Re: Processing a list of non-xml file

Posted 8/12/2024 3:48:58 PM

There are no spaces, that is just the way oxygen produces the error messages.Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: 8/12/24 8:36 AM (GMT-08:00) To . . . Read full entry »


Aw: Re: Aw: Re: Processing a list of non-xml files in

Posted 8/12/2024 3:36:31 PM

Spaces in URIs need to be escaped -- Gesendet mit der GMX Mail AppAm 12.08.24, 17:27 schrieb "dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>: That was a typo after testing different things. I still get the error, but now with the ? Invalid URI passed to uri-coll . . . Read full entry »


Re: Aw: Re: Processing a list of non-xml files in XSL

Posted 8/12/2024 3:27:12 PM

That was a typo after testing different things. I still get the error, but now with the ? Invalid URI passed to uri-collection: file:/Users/danvint/C"BB pubsrc/_src-data-files/C"BB asciidoc-processing/C"BB Ixia-Source/C"BB dita-files/C"BB FORMAT_sample_2_1_Early_ . . . Read full entry »


Aw: Re: Processing a list of non-xml files in XSLT?

Posted 8/12/2024 3:07:10 PM

The question mark bo8 seems to be missing before the "select" -- Gesendet mit der GMX Mail AppAm 12.08.24, 17:03 schrieb "dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>: Thanks, I was looking for something different for base-uri() rather than somethi . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/12/2024 3:02:46 PM

Thanks, I was looking for something different for base-uri() rather than something to create the collection differently. I've change the for loop to this: <xsl:for-each select=" uri-collection($rawimagecollectionString)" > <xsl:variable name="FILE" select="subs . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/9/2024 9:59:24 PM

On 09/08/2024 23:52, Martin Honnen martin.honnen@xxxxxx wrote: On 09/08/2024 23:28, dvint@xxxxxxxxx wrote: Is there anything I can use directly in XSL (this one stylesheet) that will just give me the filenames of these images? I can do some other preprocessing stages and build an xml file with al . . . Read full entry »


Re: Processing a list of non-xml files in XSLT?

Posted 8/9/2024 9:51:50 PM

On 09/08/2024 23:28, dvint@xxxxxxxxx wrote: I've created a conversion process to take DITA to asciidoc that works pretty well overall. What I have is: - a folder with all the dita, ditamaps, and images in a flat structure - a simplified format of the map as run through the normalize process I use t . . . Read full entry »


Processing a list of non-xml files in XSLT?

Posted 8/9/2024 9:27:49 PM

I've created a conversion process to take DITA to asciidoc that works pretty well overall. What I have is: - a folder with all the dita, ditamaps, and images in a flat structure - a simplified format of the map as run through the normalize process I use the simplified map to determine what files . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/8/2024 2:10:38 PM

Hi, I've been reading about node-set (and also mode), and it is a bit confusing, but I think that basically, even if I/we implement the XSLT chaining, what we need to do is going to have to kind of be similar to using XProc, in the sense, that we have to implement a kind of "overlord" XS . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/8/2024 12:37:17 PM

Hi, I guess I will continue this topic in this same thread then..... First, as an aside, I have asked about possibly using XProc, and am awaiting response. Also, I think most of the examples of chaining that I was able to find were using at least XSLT 1.0 (yes, I know :( !!! )... So, then, here . . . Read full entry »


upcoming course - XSLT For Me

Posted 8/7/2024 11:26:34 PM

An introduction, or booster course. Want to level up in XSLT? Maintaining or altering style sheets and finding it hard? * Introduces the big picture concepts behind XSLT * Flow with the zen and see how to write stylesheets that are easier to maintain and change * See how XSLT fits into ecosys . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 9:49:45 PM

On Wed, 2024-08-07 at 21:09 +0000, ohaya ohaya@xxxxxxxxx wrote: > > Also, now that I think I/we've gotten past the existence of the node- > set() function, I am going to start trying to implement/test the > chaining, so I think it'd be better to start a new thread for that. The usual a . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 9:27:39 PM

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 gi . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 9:09:32 PM

FYi, just for completeness - I did output some of the system.properties when the XSLT was run on the product, and I got this: xsl:versionB - 1xsl:vendor - Apache Software Foundationxsl:vendor-url - http://xml.apache.org/xalan-c So the product IS using XALAN-c Also, now that I think I/we've gott . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 8:53:36 PM

Liam, I think I had a "brain spasm" and, for the "test" I was comparing to '' (2 single quotes), instead of just using the boolean returned by the function-available() :)....., which actually looks like it worked ;) !!B But I've changed it now to just use the boolean returned . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 8:41:44 PM

On 07/08/2024 21:44, ohaya ohaya@xxxxxxxxx wrote: > > > I don't remember mentioning Xalan, and actually THAT (which XSLT > processor was being used) was a question I had. > > > You said (in a message of the thread titled "Running xsltproc does not produce any output") . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 8:23:42 PM

On Wed, 2024-08-07 at 19:33 +0000, ohaya ohaya@xxxxxxxxx wrote: > > B B B <xsl:choose> > B B B B B B B <xsl:when test="function-available('exslt:node-set') = ''"> > B B B B B B B B B B B <xsl:message>+++++++++ exslt:node-set NOT available > ;)</xsl:m . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 7:54:28 PM

On 07/08/2024 21:44, ohaya ohaya@xxxxxxxxx wrote: > Martin, > > I don't remember mentioning Xalan, and actually THAT (which XSLT > processor was being used) was a question I had. > > I think in a previous thread it was stated that you use xsltproc to test but in your product you h . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 7:44:24 PM

Martin, I don't remember mentioning Xalan, and actually THAT (which XSLT processor was being used) was a question I had. Given what I just found and posted about the testing on the product (that it worked, but with the exslt: prefix and NOT with msxsl: prefix) - can we conclude that the XSLT pro . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 7:39:30 PM

Hi Martin!! FYI, sorry, I wanted to let you know that I wasn't ignoring your messages on purpose :(!!B I just looked in Spam folder in Yahoo email and only then saw your messages. Again, my apologies... Jim On Wednesday, August 7, 2024 at 11:48:37 AM EDT, Martin Honnen martin.honnen@xxxxx . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 7:32:59 PM

Hi David (et al), Wow, this is kind of scary :( !! So I tested on xsltproc with the exlst: prefix and and it said the node-set was available.... So then I tested on the product itself, and I modified the test code to use "msxsl:" prefix and when i tested it said it was NOT available :( . . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 6:48:48 PM

On 07/08/2024 20:11, ohaya ohaya@xxxxxxxxx wrote: > I just tried (this was before your response below came in: > > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > B B B B B xmlns:exslt="http://exslt.org/common" > B B B B B xmlns:msxsl= . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 6:11:18 PM

I just tried (this was before your response below came in: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" B B B B B xmlns:exslt="http://exslt.org/common" B B B B B xmlns:msxsl="urn:schemas-microsoft-com:xslt" B B B B B version="1.0"& . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 5:59:19 PM

On Wed, 7 Aug 2024 at 18:18, ohaya ohaya@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > David, > > The way the product works, is there is a config parameter that point to > the XLST file to be used and then the output from the XSLT gets sent to the > actual targ . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 5:18:10 PM

David, The way the product works, is there is a config parameter that point to the XLST file to be used and then the output from the XSLT gets sent to the actual target syslogd (over network), so no browser is involved.... I read through your page and it mentions: function-available('exslt:node-se . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 5:00:46 PM

> b) Also, I am wondering if anyone here has tried something like what I am describing, the "daisy-chaining" of XSLTs? If so, are there any other "gotchas"? > Yes, running a pipeline of transformations is absolutely standard practice and a highly recommended way of achie . . . Read full entry »


Re: Bug in Saxon?

Posted 8/7/2024 4:57:00 PM

The software is working as designed, and it's in conformance with the spec. Warnings tend to attract strong opinions, some people value them and others don't. Some people have a self-imposed rule that the code must execute without warnings, and by doing that they are making life a bit more difficu . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 4:54:32 PM

Is XProc [1] possible in your solution space? It was designed for this sort of problem. bPaul [1] 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 wit . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 4:21:10 PM

On 07/08/2024 18:13, David Carlisle d.p.carlisle@xxxxxxxxx wrote: seems like only yesterday on this list I advertised http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html to make exslt:node-set work seamlessly on systems that supported it and systems that had a similar function in . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 4:13:35 PM

seems like only yesterday on this list I advertised http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html to make exslt:node-set work seamlessly on systems that supported it and systems that had a similar function in a different namespace David (a greyer version) On Wed, 7 Aug 2 . . . Read full entry »


Re: Daisy chaining XSLT and also how can I check wheth

Posted 8/7/2024 3:48:18 PM

On 07/08/2024 17:36, ohaya ohaya@xxxxxxxxx wrote: > > > 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 chec . . . Read full entry »


Daisy chaining XSLT and also how can I check whether t

Posted 8/7/2024 3:35:46 PM

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 wit . . . Read full entry »


Re: Bug in Saxon?

Posted 8/7/2024 1:09:31 PM

On 07/08/2024 15:00, Roger L Costello costello@xxxxxxxxx wrote: > > Okay, I upgraded to saxon-ee-12.5.jar and I get the same warning > message. When I run my actual program, I get dozens of these warning > messages until finally I get a message bNo more warnings will be > displayedb . . . Read full entry »


Re: Bug in Saxon?

Posted 8/7/2024 1:06:30 PM

> I believe this is a bug in the Saxon 12.4 > > Do you agree? If yes, is there a way to work around the bug? Looks like. In the example you posted, $legacy-ARINC-elmt-value is a string of six spaces. Consequently $whole-part is a string of 3 spaces. Saxon is correctly warning you that the . . . Read full entry »


Re: Bug in Saxon?

Posted 8/7/2024 1:00:24 PM

Hi Martin, Ouch! Okay, I upgraded to saxon-ee-12.5.jar and I get the same warning message. When I run my actual program, I get dozens of these warning messages until finally I get a message bNo more warnings will be displayedb Turning off warning messages is not acceptable. Here is my complete . . . Read full entry »


Re: Bug in Saxon?

Posted 8/7/2024 12:30:02 PM

On 07/08/2024 14:16, Roger L Costello costello@xxxxxxxxx wrote: Hi Folks, I have an XSLT program with this template rule: <xsl:template match="/"> <arcRadius> <xsl:variable name="legacy-ARINC-elmt-name" select="'ARC_Radius'" as="xs:s . . . Read full entry »


Bug in Saxon?

Posted 8/7/2024 12:16:24 PM

Hi Folks, I have an XSLT program with this template rule: <xsl:template match="/"> <arcRadius> <xsl:variable name="legacy-ARINC-elmt-name" select="'ARC_Radius'" as="xs:string"/> <xsl:variable name="legacy-ARINC- . . . Read full entry »


Re: xslide

Posted 8/2/2024 7:29:01 PM

On 02/07/2024 02:28, Paul Tyson phtyson@xxxxxxxxxxxxx wrote: Count me as another 2-decade user of xslide, also unaware of the github site. Every few years I find myself setting up a new emacs environment, and every time I search for "xslide emacs", but this is the first time the github si . . . Read full entry »


XSL-List Guidelines

Posted 8/1/2024 12:00:02 PM

This information is posted to the XSL-List (and the XSL-List Digest) at intervals under the subject line "XSL-List guidelines". INTRODUCTION TO XSL-LIST XSL-List hosts discussion of XSL itself, XSL applications and implementation, and XSL user questions. XSL-List is open to everyone, us . . . Read full entry »


Re: How to remove a single quote?

Posted 7/31/2024 10:24:51 PM

> On 31/07/2024 21:51, dvint@xxxxxxxxx <mailto:dvint@xxxxxxxxx> wrote: >> I have content like this: >> >> <topic file="fs_task_with_collapse_in_tabs.dita" >> title="FORMAT: task inside a tab using collapsed sections" >> chunk=&qu . . . Read full entry »


Re: How to remove a single quote?

Posted 7/31/2024 8:02:01 PM

On 31/07/2024 21:51, dvint@xxxxxxxxx wrote: I have content like this: <topic file="fs_task_with_collapse_in_tabs.dita" B B B B title="FORMAT: task inside a tab using collapsed sections" B B B B chunk="child" B B B B B B B tabtitle="'Collapse Sections'"&g . . . Read full entry »


Re: How to remove a single quote?

Posted 7/31/2024 7:57:54 PM

On 31/07/2024 21:51, dvint@xxxxxxxxx wrote: > I have content like this: > > <topic file="fs_task_with_collapse_in_tabs.dita" > B B B B title="FORMAT: task inside a tab using collapsed sections" > B B B B chunk="child" > B B B B B B B tabtitle=&quo . . . Read full entry »


Re: How to strip a single quote?

Posted 7/31/2024 7:57:22 PM

thanks, that was a missend, but the answer is still valid On 2024-07-31 12:46, David Carlisle d.p.carlisle@xxxxxxxxx wrote: > replace(@tabtitle, '''','') > > David > > On Wed, 31 Jul 2024 at 20:41, dvint@xxxxxxxxx > <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > . . . Read full entry »


Re: How to strip a single quote?

Posted 7/31/2024 7:57:00 PM

thanks, that was a missend, but the answer is still valid On 2024-07-31 12:47, Martin Honnen martin.honnen@xxxxxx wrote: On 31/07/2024 21:41, dvint@xxxxxxxxx wrote: I have content like this <topic file="fs_task_with_collapse_in_tabs.dita" B B B B title="FORMAT: task inside a tab . . . Read full entry »


How to remove a single quote?

Posted 7/31/2024 7:51:31 PM

I have content like this: <topic file="fs_task_with_collapse_in_tabs.dita" title="FORMAT: task inside a tab using collapsed sections" chunk="child" tabtitle="'Collapse Sections'"> Notice the single quotes in the tabtitle attrbiute. I would li . . . Read full entry »


Re: How to strip a single quote?

Posted 7/31/2024 7:47:20 PM

On 31/07/2024 21:41, dvint@xxxxxxxxx wrote: I have content like this <topic file="fs_task_with_collapse_in_tabs.dita" B B B B title="FORMAT: task inside a tab using collapsed sections" chunk="child" tabtitle="'Collapse Sections'"> translate(@tabtitle, . . . Read full entry »


Re: How to strip a single quote?

Posted 7/31/2024 7:46:24 PM

replace(@tabtitle, '''','') David On Wed, 31 Jul 2024 at 20:41, dvint@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > I have content like this > > <topic file="fs_task_with_collapse_in_tabs.dita" > title="FORMAT: task inside a tab u . . . Read full entry »


How to strip a single quote?

Posted 7/31/2024 7:41:17 PM

I have content like this <topic file="fs_task_with_collapse_in_tabs.dita" title="FORMAT: task inside a tab using collapsed sections" chunk="child" tabtitle="'Collapse Sections'"> . . . Read full entry »


Re: Does it make sense to collect elements with a cert

Posted 7/31/2024 4:06:43 PM

> To my way of thinking, there is no benefit. I collected <row> elements with a matching ARPT_IDENT, then the assert tests that the collected <row> elements have a matching ARPT_IDENT. The assert seems pointless/redundant/useless/wasteful. Am I missing something? > That's surely . . . Read full entry »


Re: Does it make sense to collect elements with a cert

Posted 7/31/2024 3:09:01 PM

> Does it make sense to verify that every <row> element in $nav-records-for-this-airport > has an ARPT_IDENT that matches $airport-id? Is there a benefit to this assert: No, unless you are testing the correctness of the XPath processor itself. Such an assert could though be useful if . . . Read full entry »


Re: Does it make sense to collect elements with a cert

Posted 7/31/2024 2:58:42 PM

Hi Roger, In case you process $nav-records-for-this-airport in another template or function, then it might be helpful to verify that the provided data matches the expectation. But as shown directly following the original selection seems unnecessary. Unless you consider someone tasked to change th . . . Read full entry »


Re: Does it make sense to collect elements with a cert

Posted 7/31/2024 2:47:13 PM

On 31/07/2024 15:58, Roger L Costello costello@xxxxxxxxx wrote: > Hi Folks, > > $airport-id holds the identifier of an airport. > > I use $airport-id to collect <row> elements in $airports-nav-records with a matching ARPT_IDENT: > > <xsl:variable name="nav-records . . . Read full entry »


Does it make sense to collect elements with a certain

Posted 7/31/2024 1:58:01 PM

Hi Folks, $airport-id holds the identifier of an airport. I use $airport-id to collect <row> elements in $airports-nav-records with a matching ARPT_IDENT: <xsl:variable name="nav-records-for-this-airport" select="$airports-nav-records//row[ARPT_IDEN . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/24/2024 4:13:19 AM

Hi Liam, I was going to post earlier, but I'm still tied up working this, but I think I've made some progress... I was able to set a variable as follows: <xsl:template match="/syslog/audit_record/ExtraDetails"> B B B B B B B B B B B B B B B <ExtraDetails> <xsl:variabl . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/24/2024 2:56:07 AM

On Tue, 2024-07-23 at 21:47 +0000, ohaya ohaya@xxxxxxxxx wrote: > B > Hi, > > I think I spoke too soon. > > I've been trying to modify the original example below, which uses the > $input variable that gets set from the stringparam on the xsltproc > command line, to populate . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 9:47:22 PM

On Tue, 2024-07-23 at 12:27 +0000, Martin Honnen martin.honnen@xxxxxx wrote: > > But I think in the meantime you found the system you have to run your > XSLT 1.0 with uses Xalan C++ 1.2 so I don't see why looking for > xsltproc/libxslt extensions is helpful to write code. Right - i mis . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 9:47:22 PM

Hi, I think I spoke too soon. I've been trying to modify the original example below, which uses the $input variable that gets set from the stringparam on the xsltproc command line, to populate the before-tab and after-tab vars, to work with the incoming XML, auditrecord.xml, but I don't quite know . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 5:22:39 PM

Jim, nice job. It's good to see the stars aligned on this one (if that's what it is). Regards, Wendell From: ohaya ohaya@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, July 23, 2024 12:53 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Cc: ohaya@xxxxxxxxx Subject: Re: Running x . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 4:52:29 PM

Liam, I was able to get your suggested code working with xsltproc.. actually I kind of "enhanced" it a bit... <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="input&qu . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 2:10:46 PM

Jim, See, what he said. p XSLT 1.0 is something of an art but it is not dead, there are still practitioners and neat solutions to be had. (You might even find coaches if you approach it the right way, maybe contributors to this list who write XSLT in return for sandwiches or other valued asset . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 2:04:10 PM

Jim, I proposed looking at a "Fiddle" only as a way of assessing capabilities of versions (note plural) of XSLT with respect to your issue. If you know that your solution must run in a given processor supporting XSLT 1.0, then you are (a) stuck without regular expressions, while not stu . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 12:44:38 PM

On 23/07/2024 14:32, ohaya ohaya@xxxxxxxxx wrote: > > > If xsltproc won't work (because no regex extension), then I think that > maybe that XSLT Fiddle website that Wendell suggested in his message > might work? > I am not sure which XSLT fiddle Wendell had in mind, if you want to . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 12:32:16 PM

Hi, If xsltproc won't work (because no regex extension), then I think that maybe that XSLT Fiddle website that Wendell suggested in his message might work? Jim On Tuesday, July 23, 2024 at 07:31:45 AM EDT, ohaya <ohaya@xxxxxxxxx> wrote: Hi, This is what I get when I run xsltproc -- . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 12:27:24 PM

On 23/07/2024 13:32, ohaya ohaya@xxxxxxxxx wrote: > > > This is what I get when I run xsltproc --dumpextensions: > But I think in the meantime you found the system you have to run your XSLT 1.0 with uses Xalan C++ 1.2 so I don't see why looking for xsltproc/libxslt extensions is helpful . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 11:31:58 AM

Hi, This is what I get when I run xsltproc --dumpextensions: [root@nodejs ~]# xsltproc --dumpextensions Registered XSLT Extensions -------------------------- Registered Extension Functions: {http://exslt.org/common}object-type {http://exslt.org/math}max {http://exslt.org/math}power {http://exslt.o . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 11:29:16 AM

Hi Liam, To clarify what I posted, when I had "[Tab]" that is LITERALLY 5 characters string, "[" followed by "Tab" and then followed by "]". Thanks, Jim On Monday, July 22, 2024 at 11:58:49 PM EDT, Liam R. E. Quin <liam@xxxxxxxxxxxxxxxx> wrote: . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 4:00:51 AM

On Tue, 2024-07-23 at 03:01 +0000, ohaya ohaya@xxxxxxxxx wrote: > > So I was looking at a regex that would check for that (2 strings same > length) and found this: > I forgot to add, i donbt think xsltproc supports regular expressions. They are not in XSLT 1 (or XPath 1), although xsl . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 3:59:01 AM

On Tue, 2024-07-23 at 03:01 +0000, ohaya ohaya@xxxxxxxxx wrote: > B > I am starting to look into what needs to be done (Note this might be > a little off-topic)... > > First, reminder, the <ExtraDatails> has like: > > Command=Password$[Tab]Password$;ConnectionComponentId . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/23/2024 3:01:22 AM

I am starting to look into what needs to be done (Note this might be a little off-topic)... First, reminder, the <ExtraDatails> has like: Command=Password$[Tab]Password$;ConnectionComponentId=Users;DstHost=my.soluti ons;Protocol=NC;ID=Server_W01;SessionID=0c97ce2e-c0a2-467d-952e-e1b81a9a514 . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/22/2024 9:57:39 PM

Jim, But your requirements are pretty well within what XSLT 1.0 will do, allowing for how ugly the string processing is likely to be - so you're not completely stuck. I would recommend playing around with the XSLT in an online test environment - there are a bunch that will run in your browser saf . . . Read full entry »


[ANN] BALISAGE OPEN MIC - Invitation to Participate

Posted 7/22/2024 7:38:04 PM

ANNOUNCING Open Mic: Anything Goes. Balisage participants are invited to give 2 to 10 minutes presentations on any topic (within the limits of the conference Code of Conduct). Share a markup-related achievement, ask for help with a problem, announce a new tool or updated specification, remind us . . . Read full entry »


Re: Running xsltproc does not produce any output

Posted 7/22/2024 7:19:52 PM

Hi Wendell, as I mentioned, this is being done in the context of a COTs (commercial product), so we don't have much flexility as far as the XSLT version (more precisely, it would be a LOT of other things involved, like approvals, etc.), so I think we are stuck with XSLT 1.0, unless it is not possi . . . Read full entry »



PURCHASE STYLUS STUDIO ONLINE TODAY!!

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

Buy Stylus Studio Now

What's New for X14?

New XQuery & Web Services Tools, Support for MySQL, PostgreSQL, HL7 EDI, Microsoft .NET Code Generation and much more!

Ask Someone You Know

Does your company use Stylus Studio? Do your competitors? Engineers from over 100,000 leading companies use Stylus Studio, and now you can ask someone from your own organization about their experiences using Stylus Studio.

 
Free Stylus Studio XML Training: