mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
A few minor corrections to XSLT rendering engine code discovered while writing the related wiki page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -304,8 +304,7 @@ public class XSLTRenderingEngineTest extends BaseAlfrescoSpringTest
|
||||
"<xsl:preserve-space elements=\"*\"/>" +
|
||||
|
||||
"<xsl:variable name=\"all_docs\" select=\"alf:parseXMLDocuments('cm:content', 'path/to/xml/files')\"/>" +
|
||||
"<xsl:template match=\"/\">" + "<xsl:for-each select=\"$all_docs\">" + "<xsl:for-each select=\"food\">"
|
||||
+ "<xsl:value-of select=\"name\"/>" + "</xsl:for-each>" + "</xsl:for-each>" + "</xsl:template>" + "</xsl:stylesheet>";
|
||||
"<xsl:template match=\"/\">" + "<xsl:for-each select=\"$all_docs//food\">"
|
||||
+ "<xsl:value-of select=\"name\"/>" + "</xsl:for-each>" + "</xsl:template>" + "</xsl:stylesheet>";
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user