Home > XSL-List Blog
The XSL-LIST BlogThe 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: json-to-xml namespacePosted 12/12/2024 1:05:30 AMHI, Interesting considerations. There is no blame, only evlution strategy development. Just to wrap up the initial issue, removing the ns on import and putting it back on export wasn't quite ... satisfying, so I reconsidered and cut json out of the project. Its semantics were twisting mine. Now, . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 4:30:00 PMIt has been more then 40 years, but I LOVED SNOBOL! It was useful for doing what I wanted to do. Came to it after IBM assembler and fortran, and it opened my eyes. --Debbie > On Dec 11, 2024, at 11:12b/AM, Peter Flynn peter@xxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 4:12:15 PMOn 11 December 2024 15:33:25 G. Ken Holman <g.ken.holman@xxxxxxxxx> wrote: > But who has "spare" time these days? When I retired from the day job, people said "You'll be able to do so many things in all that free time." Hah. Learning SNOBOL was not on the list but m . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 4:09:42 PMI know the whole 'no time' for anything problem. As I technical writer, I almost regularly have a need to process text in some form or another.B Thx, Russ On Wednesday, December 11, 2024 at 09:33:26 AM CST, G. Ken Holman g.ken.holman@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> w . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 3:33:02 PMThank you, Russ. From what you say, I probably would find SNOBOL far more interesting today now that I know XSLT/XPath. But who has "spare" time these days? At 11/12/2024 15:21 +0000, russurquhart1@xxxxxxxxxxx russurquhart1@xxxxxxxxxxx wrote: Patterns, and the pieces that make up a p . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 3:20:18 PMPatterns, and the pieces that make up a pattern, do have an underlying grammar, but I can understand that putting various pieces together it may not be obviously clear what is going to happen or what the side effects will be. Also, there is a temptation to want to put EVERYTHING into one glorious . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 2:45:41 PMI did mean something else, sorry. Lexically, yes, strings need to be closed. It was a long time ago, but my recollection is that the syntax allowed any combination of tokens and that combination would mean something. I wouldn't get a syntax error that the order of tokens was wrong, or that decl . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 2:19:39 PMI love Snobol/Spitbol and have used it from my college days to the present for text processing of non-xml files. I love it and am so confortable with using it. As I learned Snobol before GREP was available, I never go into Regular expression very much. I'm not sure what you mean that there are no . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 12:48:10 PM> What I hated about SNOBOL (in 1979? 1978?) was that there was no such thing as a syntax error. Regular expressions seem to have inherited that tradition. Michael Kay Saxonica . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 12:44:47 PMWhat I hated about SNOBOL (in 1979? 1978?) was that there was no such thing as a syntax error. Everything you expressed meant *something*. I couldn't wait until the next Wednesday when we moved on to yet another programming language in the course overviewing programming languages. Yuck! At 11/ . . . Read full entry » Re: json-to-xml namespacePosted 12/11/2024 12:27:06 PM>> The XML representation of JSON that XSLT 3 and XPath 3.1 define and share puts those elements into that namespace, like most XML vocabularies use a namespace. > > Wow. That's a shockingly bad choice of namespace URL, as if namespaces > weren't confusing enough already. Let's take . . . Read full entry » Re: XSLT is a pattern-action language. So is AWK. WhatPosted 12/11/2024 12:12:49 PMFirst one I came across, back in the early 70s, was SNOBOL - but I never used it in anger. There was a system that was popular in the 70s in the UK called FILETAB - the basic idea being "decision tables", where you write a spreadsheet with conditions on one axis and actions on the other. . . . Read full entry » Re: json-to-xml namespacePosted 12/11/2024 11:42:36 AMOn 11/12/2024 12:37, Elliotte Rusty Harold elharo@xxxxxxxxxxx wrote: > On Tue, Dec 10, 2024 at 8:48b/AM Martin Honnenmartin.honnen@xxxxxx > <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: >> The XML representation of JSON that XSLT 3 and XPath 3.1 define and share puts those ele . . . Read full entry » Re: json-to-xml namespacePosted 12/11/2024 11:36:51 AMOn Tue, Dec 10, 2024 at 8:48b/AM Martin Honnen martin.honnen@xxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > The XML representation of JSON that XSLT 3 and XPath 3.1 define and share puts those elements into that namespace, like most XML vocabularies use a namespace. Wow. . . . Read full entry » Re: json-to-xml namespacePosted 12/11/2024 11:32:25 AMIs that really what it does? You might be misunderstanding how namespaces work in XML. Then again the function might be buggy. Do you have some example source code and output? On Tue, Dec 10, 2024 at 8:22b/AM Andre Cusson akhu01@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > . . . Read full entry » XSLT is a pattern-action language. So is AWK. What otPosted 12/11/2024 10:57:51 AMHi Folks, I love programming languages that offer this style of programming: "if the input matches this pattern, then do that action." That is, I love pattern-action languages. XSLT is a pattern-action language. So is AWK. What other languages are pattern-action? /Roger . . . Read full entry » Re: json-to-xml namespacePosted 12/10/2024 11:42:47 AMHi, These are firewall configurations and rules that get imported, processed, managed and exported back. Naturally, I would rather put the data in the proper ns than have to remove one to give it another one, on import, and then reverse everything on export. It is not a big deal, a few templates . . . Read full entry » Re: json-to-xml namespacePosted 12/10/2024 9:24:48 AMSorry, meant to write *json-to-xml()*. On Tue, Dec 10, 2024 at 10:23b/AM Alan Painter alan.painter@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Also, going back to your original question: > > > This root element has local-name() "map". xslt maps are fu . . . Read full entry » Re: json-to-xml namespacePosted 12/10/2024 9:23:17 AMAlso, going back to your original question: > This root element has local-name() "map". xslt maps are functions, but this is an element not an xslt map. There is some confusion in this question between the *"map"* type in XPath/XSLT and an XML element with a local-name of * . . . Read full entry » Re: json-to-xml namespacePosted 12/10/2024 9:09:41 AMAdding to what Martin Honnen has mentioned in his mail: The function *xml-to-json()* is defined here in the spec: https://www.w3.org/TR/xpath-functions-31/#func-xml-to-json As shown in the definition, the XML elements produced by the conversion function are in the *xpath-functions* namespace. ht . . . Read full entry » Aw: json-to-xml namespacePosted 12/10/2024 8:48:01 AMThe XML representation of JSON that XSLT 3 and XPath 3.1 define and share puts those elements into that namespace, like most XML vocabularies use a namespace. -- Gesendet mit der GMX Mail App Am 10.12.24, 09:22 schrieb "Andre Cusson akhu01@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxx . . . Read full entry » json-to-xml namespacePosted 12/10/2024 8:22:15 AMHi, I am a little puzzled as I convert some json to xml, the json-to-xml function seems to put the resulting xml in the http://www.w3.org/2005/xpath-functions namespace, as specified on its root element. This root element has local-name() "map". xslt maps are functions, but this is an el . . . Read full entry » XSL-List GuidelinesPosted 12/2/2024 2:06:03 AMThis 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] Version 27.0 of the Oxygen XML Suite of ProductsPosted 11/29/2024 7:45:06 AMHi everyone, We are excited to announce that Oxygen XML Developer/Editor version 27.0 is now available! Listing below some new features which may be useful for the XSL community: XSLT/XQuery ================================== * The built-in Saxon processor from Saxonica, used for XSLT and XQuer . . . Read full entry » Re: Seek your recommendation on how to report differenPosted 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 differenPosted 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 differenPosted 11/15/2024 3:31:40 PMOn 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 differencesPosted 11/15/2024 2:14:11 PMHi 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 filePosted 11/12/2024 10:32:15 AMThis 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 filePosted 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 filePosted 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 filePosted 11/11/2024 6:00:29 PMHi 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 XPATHPosted 11/11/2024 3:55:17 PMAs 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 modPosted 11/11/2024 3:48:06 PMThis 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 XPATHPosted 11/11/2024 3:31:56 PMXSLT/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 XPATHPosted 11/11/2024 3:28:51 PMHi, 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 AMAnother 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 sPosted 11/8/2024 3:30:11 PMSorry, 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 schemaPosted 11/8/2024 3:19:08 PMHi 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 AMOn 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 AMOn 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 AMThank 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 AMThanks 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 PMOn 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 PMHi 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 PMThanks 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 PMOn 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 AMOn 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 AMI 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 AMHello ! 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-foPosted 11/4/2024 4:07:40 PMHello, 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 designePosted 11/4/2024 2:00:25 PMXSLT 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 designePosted 11/4/2024 1:21:51 PMIt'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 foPosted 11/4/2024 1:02:00 PMYesterday 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-foPosted 11/3/2024 8:52:59 PMOn 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-foPosted 11/3/2024 8:12:16 PMI'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-foPosted 11/3/2024 5:25:26 PMHi 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-foPosted 11/3/2024 1:03:06 PMhttps://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-foPosted 11/3/2024 12:03:19 PMOn 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-foPosted 11/3/2024 11:54:41 AMHi Alan, You wrote: ... technical debt ... What is technical debt? /Roger . . . Read full entry » Re: Why do some people not use XSLT to process XML-foPosted 11/3/2024 11:33:15 AMHey 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-foPosted 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-formattPosted 11/3/2024 10:47:21 AMHi 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 GuidelinesPosted 11/1/2024 2:17:16 PMThis 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 XMPosted 10/31/2024 7:28:03 AMHi 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 XMPosted 10/30/2024 11:05:24 PMOn 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 XMPosted 10/30/2024 10:30:20 PMDid 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 XMPosted 10/30/2024 5:03:49 PMThere 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 XMPosted 10/30/2024 5:01:57 PMHi 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 XMPosted 10/30/2024 3:54:04 PMHey 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 fiPosted 10/30/2024 11:45:37 AMHi 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 reminderPosted 10/23/2024 12:02:48 PMReminder: 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 PMI'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 AMGreat! 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 AMOn 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 AMMany, 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 AMOn 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 AMFrank, 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 AMHi 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 PMHello 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 PMHi 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 PMHerebs 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 PMHi 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 AMHi 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 CoursePosted 10/19/2024 2:17:41 AMAre 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 ComputingPosted 10/19/2024 2:16:59 AMUpcoming: * 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 PMThank 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 PMOn 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 PMLook 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 PMOn 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 PMOn 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 PMHello 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 positionPosted 10/4/2024 3:23:13 PMI 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 positionPosted 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 positionPosted 10/4/2024 8:55:24 AMOn 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 positionPosted 10/4/2024 8:49:16 AMHi 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 positionPosted 10/4/2024 8:26:00 AMHow 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 positionPosted 10/4/2024 7:58:19 AMMaybe 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 positionPosted 10/4/2024 7:52:09 AMDear 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 functionPosted 10/3/2024 8:34:55 PMOn Thu, 2024-10-03 at 18:51 +0000, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx wrote: > B Dear list, > > B <xsl:value-of select="replace(.,"([ > C"BB])'","$1C"BB")"/> > B > B I would like to add to this code such t . . . Read full entry » Re: escape quotation marks in replace functionPosted 10/3/2024 7:50:39 PM> Putting either ["] or ["] 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 functionPosted 10/3/2024 7:45:40 PMIts `"` 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 functionPosted 10/3/2024 7:38:01 PMThank you very much for the quick reply! [""] 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 functionPosted 10/3/2024 7:30:31 PMOn 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 functionPosted 10/3/2024 7:21:33 PMSee 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 functionPosted 10/3/2024 7:14:40 PMOn 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 functionPosted 10/3/2024 6:50:46 PMDear 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(.,"([ C"BB])'", . . . Read full entry » XSL-List GuidelinesPosted 10/1/2024 5:19:09 PMThis 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 ReleasedPosted 9/30/2024 11:08:50 PMWe 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 PMThanks 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 PMI 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 PMAsked 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 andPosted 9/26/2024 6:43:23 PMBob, 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 andPosted 9/26/2024 6:25:26 PMOn 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 andPosted 9/26/2024 6:18:22 PMLOL 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 andPosted 9/26/2024 9:23:21 AMIf 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 andPosted 9/26/2024 4:32:49 AMOn 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 andPosted 9/26/2024 4:32:05 AMOn 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 toPosted 9/26/2024 4:20:49 AMI 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 ComputingPosted 9/26/2024 3:12:49 AMHello! 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 FilesPosted 9/26/2024 3:11:51 AMOn 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.1Posted 9/10/2024 2:49:35 PMSorry 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.1Posted 9/9/2024 9:33:43 PMWe 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 nowPosted 9/4/2024 9:15:49 AMDeclarative 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 GuidelinesPosted 9/1/2024 4:21:28 PMThis 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 FilesPosted 8/23/2024 12:04:31 PMOn 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 FilesPosted 8/23/2024 11:59:49 AMHi, 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 FilesPosted 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 FilesPosted 8/22/2024 4:19:51 PMHi, 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 PMThanks 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 PMGet 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 PMThe 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 PMOn 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 PMHello 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 FilesPosted 8/19/2024 9:14:02 PMCan 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 FilesPosted 8/19/2024 7:20:04 PMWhat 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 FilesPosted 8/19/2024 7:12:18 PMHi, 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-McQueenPosted 8/19/2024 5:06:34 PMThere 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 PMSorry, 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 PMIt 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 PMOn 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 PMChanging 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 PMOk, 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 filesPosted 8/12/2024 7:45:48 PMOn 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 filesPosted 8/12/2024 7:20:00 PMI 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 filesPosted 8/12/2024 6:57:11 PMOn 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 filePosted 8/12/2024 5:55:41 PMSo 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 filePosted 8/12/2024 3:48:58 PMThere 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 inPosted 8/12/2024 3:36:31 PMSpaces 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 XSLPosted 8/12/2024 3:27:12 PMThat 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 PMThe 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 PMThanks, 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 PMOn 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 PMOn 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 PMI'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 whethPosted 8/8/2024 2:10:38 PMHi, 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 whethPosted 8/8/2024 12:37:17 PMHi, 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 MePosted 8/7/2024 11:26:34 PMAn 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 whethPosted 8/7/2024 9:49:45 PMOn 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 whethPosted 8/7/2024 9:27:39 PMPaul, 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 whethPosted 8/7/2024 9:09:32 PMFYi, 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 whethPosted 8/7/2024 8:53:36 PMLiam, 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 whethPosted 8/7/2024 8:41:44 PMOn 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 whethPosted 8/7/2024 8:23:42 PMOn 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 whethPosted 8/7/2024 7:54:28 PMOn 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 whethPosted 8/7/2024 7:44:24 PMMartin, 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 whethPosted 8/7/2024 7:39:30 PMHi 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 whethPosted 8/7/2024 7:32:59 PMHi 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 whethPosted 8/7/2024 6:48:48 PMOn 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 whethPosted 8/7/2024 6:11:18 PMI 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 whethPosted 8/7/2024 5:59:19 PMOn 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 whethPosted 8/7/2024 5:18:10 PMDavid, 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 whethPosted 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 PMThe 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 whethPosted 8/7/2024 4:54:32 PMIs 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 whethPosted 8/7/2024 4:21:10 PMOn 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 whethPosted 8/7/2024 4:13:35 PMseems 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 whethPosted 8/7/2024 3:48:18 PMOn 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 tPosted 8/7/2024 3:35:46 PMHi, 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 PMOn 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 PMHi 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 PMOn 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 PMHi 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: xslidePosted 8/2/2024 7:29:01 PMOn 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 GuidelinesPosted 8/1/2024 12:00:02 PMThis 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 PMOn 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 PMOn 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 PMthanks, 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 PMthanks, 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 PMI 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 PMOn 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 PMreplace(@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 PMI 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 »
|
PURCHASE STYLUS STUDIO ONLINE TODAY!!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Learn Stylus Studio in 6 MinutesCan six minutes change your life? A new action-packed online video demonstration covers how to use Stylus Studio in just six minutes! Watch this video and change the way you develop XML applications forever! Ask Someone You KnowDoes 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. |