24 questions
-1
votes
1
answer
66
views
XSLT Transformation is not working as expected
Input XML
<tns:ipartycredit>
<ns3:crPtyRole>ACWINS</ns3:crPtyRole>
<ns3:crPtyRoleIndicator>R</ns3:crPtyRoleIndicator>
<ns3:crPtyInformationTag>57</...
0
votes
1
answer
86
views
xslt 1.0 get data from dynamic node-set in variable
A variable is being used to store related record information
The variable has been updated to dynamically select, depending on results of a match,
eg
<xsl:variable name="SO">
...
0
votes
1
answer
49
views
Generat new nodes at XSLT file with loop and variables
Need your help. I have some XML file with data before the transformation.
<?xml version="1.0" encoding="UTF-8"?>
<Envelope>
<filter>
<type>book</type>
<...
1
vote
2
answers
59
views
xsl:variable assignment clarification
My understanding is that <xsl:variable> is immutable and cannot be reassigned.
I am new to XSL and came across a situation like what is in the example below.
<xsl:stylesheet>
<xsl:...
0
votes
2
answers
436
views
XSLT - Variable Assignment from a Recursive Template
I'm pretty new to XSL(T). I'm not sure its relevant but I'm working with IBM DataPower.
I'm trying to use XSL to parse an incoming URI which looks like this:
http://ip:port/Nucleus_v2.9.3/...
3
votes
1
answer
50
views
Find the element with the highest valence in xml document
I have a XML-Structure like this:
<TR>
<Zeile status="done">
<Typ>FUNCTION</Typ>
<Name>PressKey</Name>
</Zeile>
<Zeile status="...
0
votes
1
answer
256
views
Can xsl xpath expression read its own template?
I'm hard-coding the colspan value, but could I calculate it from the number of table cells in a row, e.g. using an xsl:variable?
The difficulty is in the fact, that the XML nodes contain more ...
0
votes
3
answers
3k
views
XSLT 1.0 cannot select variables in xsl:value-of select
I try to transform a piece of XML that is generated by multiple sources. If I enter the text directly into the value-of select statement it works as intended. But as soon as I try to use variables it ...
0
votes
1
answer
191
views
XSL Variable passed to JavaScript code
I've seen that similar questions were asked, but none helped.
I have a variable, called 'var':
<xsl:variable name="var">
val
</xsl:variable>
And I want to use it as such:
<a ...
12
votes
1
answer
13k
views
can we insert HTML tags in XSL Variable
I just want to confirm whether we can insert html tags inside the xsl variable?
example
<xsl:variable name="htmlContent">
<html>
<body>
hiiii
</body>
</html>
</xsl:...
1
vote
1
answer
3k
views
How to handle with arrays within different loops in XSLT
I have a problem with processing following xml code:
<?xml version="1.0" encoding="UTF-8"?>
<searchresult>
<head>
<heading>
<title>Column1</title>
...
3
votes
3
answers
2k
views
Is xsl:sequence always non-empty?
I don't understand output from this stylesheet:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-...