News for hackers. Stuff that matters.
Re:Show HN: This website is valid JSON by mstade on Wednesday December 09, 2020 @12:40AM (#25355713)
In the beginning of my career, about 15 years ago, I had a job working with a large auto parts retailer and they had all of their products in these massive XML files. We used XSLT to transform those into all kinds of things, including physical printed catalogues that would go in their stores. Obviously the XSLT didn't actually print catalogues, but we did turn them into some format that I forget now (maybe PDF!) that we could just send straight to the printers.

It was pain and suffering developing these style sheets, but once done it worked like a charm.

Re:Show HN: This website is valid JSON by oever on Wednesday December 09, 2020 @03:07AM (#25356419)
That must have been XSL-FO, a W3C standard. There are several implementations, like Apache FOP, that turn XSL-FO into PDF.
Re:Show HN: This website is valid JSON by rapnie on Wednesday December 09, 2020 @05:38AM (#25357248)
That's nice. I was in the same line of work. Started from building our own XML parser, when there were none available yet. Later I developed this fun XSLT that generated a fullblown Forms UI based on an XML and/or XML Schema which we used in a custom CMS. Then with XSL-FO and Quark XPress we generated user manuals and product catalogues from that. The XSLT was surprisingly fast for the time, and given the transformations it needed to do.
Re:Show HN: This website is valid JSON by DaiPlusPlus on Wednesday December 09, 2020 @01:14AM (#25355857)
> Obviously the XSLT didn't actually print catalogues, but we did turn them into some format that I forget now (maybe PDF!) that we could just send straight to the printers.

Was Adobe FrameMaker involved?