[xsl] Practices to handle parameters

Subject: [xsl] Practices to handle parameters
From: "Schimon Jehudah sch@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Jan 2026 10:30:21 -0000
Good afternoon.

I want to add a boolean parameter to stylesheets.


Objective
---------

The dynamic documents that be generated by client-side would have a
messages added.

The static documents that be generated by server-side would not have
that message.


Parameter
---------

I noticed this directive of "xslt-param" at.

https://wok.oblomov.eu/appunti/index.atom

<?xml version="1.0" encoding="utf-8"?>
<?xslt-param name="baseurl" select="https://wok.oblomov.eu"; ?>
<?xml-stylesheet type="text/xsl" href="https://wok.oblomov.eu/rss2html.xsl"; ?>


I would appreciate your advisory.

Kind regards,
Schimon

Current Thread