Subject: Re: [xsl] Some things I learned about writing code From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 10 Sep 2023 11:54:43 -0000 |
Am 10.09.2023 um 13:44 schrieb Roger L Costello costello@xxxxxxxxx: > > 1. > > > 2. There is input data that code consumes and output data that code > produces. What is the format of the input data? What is the format > of the output data? I like using a format that has a good query > language. That way I can run queries on the input data to check > that I correctly understand the input data and I can run queries > on the output data to check that my code generated the correct > output data. I really like the XPath query language b it is both > simple and powerful. Of course, XPath is only applicable to > XML-formatted data, so I like formatting the input and output data > as XML. > XPath 3.1 can also process and query JSON data, see the parse-json and json-doc function and the XDM maps and arrays functions and the use of ? as a lookup operator on XDM maps and arrays (to which JSON objects and arrays are mapped).
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Some things I learned about w, Roger L Costello cos | Thread | Re: [xsl] Some things I learned abo, Chris Papademetrious |
[xsl] Some things I learned about w, Roger L Costello cos | Date | Re: [xsl] Some things I learned abo, Chris Papademetrious |
Month |