Hi Sreevani

In ObjectScript you can include a double-quote character inside a quoted string by doubling it up.

set teststr ="<book id=""bk105""><author type=""old"">Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>"

Since in this example, your string clearly contains html you might find that using single-quotes inside your string would be cleaner and easier to read, making it more maintainable:

set teststr ="<book id='bk105'><author type='old'>Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>"

George

Hi Con

I think your problem might be that background-image and background-repeat are CSS properties, not HTML attributes.  Color works because it is an HTML attribute (although you should use the CSS style property for this as well these days).

Try:

<xsl:if test="$Value = 400">
     <xsl:attribute name='style'>background-image: url("images/trash-icon.png"); background-repeat: no-repeat;</xsl:attribute>
     <xsl:attribute name='color'>#ffffff</xsl:attribute>
</xsl:if>

If that works then you might want to consider using a class attribute to reference a stylesheet rather than including a style attribute directly, but that's another matter.

George

Francisco

You could try using the Serenji extension for VSCode.  This avoids the problem of syncing altogether.

Serenji allows you to browse, edit and debug your code directly in the database where it is stored and executed.  So you don't have any problems with the sources being out of sync because it just can't happen.

George
www.georgejames.com

This week at Global Summit we announced extensions for Visual Studio Code that will provide Explorer, Editing, Debugging and Source Control for InterSystems IRIS, Cache and Ensemble.

Those at the GS conference we able to see all this being demonstrated at our partner pavilion booth.  We expect these extensions to be available in a month or so.

And to answer the original question directly,  I've been running Cache Studio on Linux Mint very successfully using Wine.  There are one or two glitches but they are mainly cosmetic and not unusual with many complex applications that run under Wine.

George
www.georgejames.com

Nikita

The following example will cause your process to drop into programmer mode if it is set as the user's startup routine:

ZitRoStart
  write "hello", !
  do ^%SYS.PMODE

When a routine is specified as the user's startup routine the process starts in "application mode", sometimes referred to as a tied routine.  Calling routine %SYS.PMODE forces the process into programmer mode if it was started in application mode.

George

George James Software
www.georgejames.com