-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How it is possible to reduce this record?
<xsl:template match="BR">
<br/>
</xsl:template>
<xsl:template match="B">
<strong><xsl:apply-templates /></strong>
</xsl:template>
<xsl:template match="STRONG">
<strong><xsl:apply-templates…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I wrote a simple package installer in WinBatch that needs to update an XML file with information about the package contents. My first stab at it involved loading the file with Msxml2.DOMDocument, adding nodes and data as required, then saving the data back to disk. This worked well enough, except…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to iterate through an xml document using xsl:foreach but I need the select=" " to be dynamic so I'm using a variable as the source. Here's what I've tried:
...
<xsl:template name="SetDataPath">
<xsl:param name="Type" />
<xsl:variable name="Path_1">/Rating/Path1/*</xsl:variable>
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I have to write a very simple code in xsl:
IF column=0 if result = .34 set background color to green and write $result, but if result = 0.10 set background color to white and write the word "QQQ"
and what doesn't work is:
<xsl:if test="$result = 0.35 and $column = 0">
<xsl:attribute…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am having trouble with a template that has to check 3 different nodes and if they are not empty, print the data
I am using for each node then doing the output but it is not printing anything. It is like the test returns zero.
I have selected the parent node of each node i want to check the length…
>>> More