[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT or static site generator


Subject: Re: [xsl] XSLT or static site generator
From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2016 20:54:46 -0000

I think it is just a matter of awareness. XSLT has been well suited to this since it was released in 1999. Too many myopic Java programmers (and their managers) not considering there might be another language out there designed for processing XML and producing markup results.

I'm not familiar with Pelican but I can testify to often using XML and XSLT to create static HTML pages that are being delivered. My web sites are done this way with site maps in XML expressing dependencies and XSLT synthesizing ANT scripts that do piecemeal updates of the server of only pages that have changed since the last update:

http://CraneSoftwrights.com

I'm doing some volunteer work in Africa using this model of XML/XSLT to HTML/CSS:

http://www.CraneSoftwrights.com/links/tembonetwork.htm

Regarding your comment about browsers lacking newer features, you can also consider running XSLT in the browser using Saxon/CE ... I have an example running here:

http://www.CraneSoftwrights.com/resources/Crane-UBL-Skeleton/

I've been trying to preach XSLT since the beginning ... some people refuse to listen.

. . . . . Ken

At 2016-04-29 20:37 +0000, you wrote:
Hello,

Anybody else noticing a proliferation of static site generators made in dynamic programming languages that generate a fully static site of pure HTML and CSS? One such example is Pelican.

I'm curious why XSLT just doesn't rule this space? XSLT transformations are very powerful for generating HTML. It provides features to have template hierarchies, where you have multiple XSLT files based on other ones until you have your base template with the general look and feel of the site.

Furthermore, browsers can also perform XSLT transformations, but lack some newer XSLT features.

Do you think XSLT should be used in place of say tools like Pelican? I recently created a nice looking static site using just XSLT and XML, and is fully compatible with all current browsers. I personally don't see a need for tools like Pelican.

Sent from my BlackBerry Priv - the most secure mobile device - via the TELUS Network
<http://www.mulberrytech.com/xsl/xsl-list>XSL-List info and archive
<-list/96802>EasyUnsubscribe (<>by email)


--
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training @US$45: http://goo.gl/Dd9qBK |
Crane Softwrights Ltd. _ _ _ _ _ _ http://www.CraneSoftwrights.com/s/ |
G Ken Holman _ _ _ _ _ _ _ _ _ _ mailto:gkholman@xxxxxxxxxxxxxxxxxxxx |
Google+ blog _ _ _ _ _ http://plus.google.com/+GKenHolman-Crane/posts |
Legal business disclaimers: _ _ http://www.CraneSoftwrights.com/legal |


--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus


Current Thread
Keywords