3 ms·
XSLT is to my knowledge the only client side technology that lets you include chunks of HTML without using JavaScript and without server-side technology. XSLT
by jraph 1y ago
XSLT is to my knowledge the only client side technology that lets you include chunks of HTML without using JavaScript and without server-side technology.
XSLT lets you build completely static websites without having to use copy paste or a static website generator to handle the common stuff like menus.
- ErroneousBosh 1y ago> XSLT lets you build completely static websites without having to use copy paste or a static website generator to handle the common stuff like menus. How many people ever do this?
- Mikhail_Edoshin 1y agoI did that. You can write .rst, then transform it into XML with 'rst2xml' and then generate both HTML and PDF (using XSL-FO). (I myself also did a little literate programming this way: I added a special reStructuredText directive to mark code snippets, then extracted and joined them together into files.)
- spiffytech 1y agoIf this is "declarative XSL Processing Instructions", apparently 0.001% of global page loads.
- gregabbott 11mo agoPlain text, markup and Markdown to HTML with XSLT: REPO: https://github.com/gregabbott/skip https://github.com/gregabbott/skip DEMO: https://gregabbott.pages.dev/skip https://gregabbott.pages.dev/skip (^ View Source: 2 lines of XML around a .md file)
- paularmstrong 11mo agoParsing the XSLT file fails in Firefox :)
- gregabbott 11mo agoThanks! Reworked for Firefox.
- duskwuff 11mo agoskechers.com (a shoe manufacturer) used to do this: https://web.archive.org/web/20140101011304/http://www.skechers.com/ https://web.archive.org/web/20140101011304/http://www.skeche... They don't anymore. It was a pretty strange design.