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

Deltanji https://www.georgejames.com/deltanji can take care of this for you.

With Deltanji you can change the DTL either in the Management Portal or in VS Code, or both.   And you'll get a lot of other benefits if you upgrade your git repository to Deltanji.

Hi Alexey

It sounds like writing a simple VS Code Extension would be the right solution for this requirement.

We would be able to help you with this if you don't have the appropriate skills.

George

Have you looked at PDFbox?  https://pdfbox.apache.org/

Alternatively, if the pdfs are of your own making then the best solution would be to merge the xml content before you use fop to create the pdf document.

Adel

Do you need something more than simply attaching a debugger to the process and stepping through the code?

With the Serenji debugger you have precise control over stepping into or over blocks of code and you can mask out library code that you already know about (or don't want to know about).

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