Subject: Re: [xsl] Checking if a variable has a value From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 31 Aug 2022 09:19:43 -0000 |
> On 31 Aug 2022, at 02:27, Mark Giffin m1879@xxxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > When the variable has no value, the following is output instead of nothing: > git hash: ${git-hash} This suggests that the problem might lie upstream, as it looks as if youbre using some exterior substitution mechanism which is leaving the interpolation statement as the value of the parameter in the case when a value for bgit-hashb isnbt available. Saxon certainly wouldnbt interpolate the name of an XSLT variable into a message output unless it had been included explicitlyb&. John Lumley
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Checking if a variable ha, Martin Honnen martin | Thread | Re: [xsl] Checking if a variable ha, Mark Giffin m1879@xx |
Re: [xsl] Checking if a variable ha, Jean-Paul Rehr rehrj | Date | Re: [xsl] Checking if a variable ha, Norm Tovey-Walsh ndw |
Month |