Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
My Call Web Service action returns the information I need. I'm trying to Nintex Workflow - XSL Transformation - Vadim Tabakman by Vadim Tabakman but my workflow is erroring with the message:
Failed to invoke web service. 'xsl:stylesheet' element cannot have text node children.
I've even dumbed down my results to make sure it wasn't one specific return that was ruining everything. Here's my current XSL transform code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="no" method="html"/> -<xsl:template match="/" name="ShowVariables">
<html>
<body>
<h2>My Items</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Center Name</th>
</tr>
<xsl:for-each select="//*[name()='z:row']">
<tr>
<td>
<xsl:value-of select="@ows_CenterName"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
What am I doing wrong here? Am I missing something simple?
Solved! Go to Solution.
can you try to remove that minus sign right before xsl:template node?
if that doesn't help can you post a sample of your WS output?
UGH! Thank you! That worked. I thought it would be something simple I was just overlooking.
I just checked and that is in the code on the page too.