|
|
@@ -15,8 +15,11 @@ class Route_Test_XslRecurse extends RouteBase {
|
|
|
<item typeName=\"default_db:TEST_PERMS\">
|
|
|
<featureId>TEST_PERMS.1</featureId>
|
|
|
</item>
|
|
|
- <item typeName=\"default_db__x3A__TEST_PERMS:TestPermAnt\">
|
|
|
- <featureId>TestPermAnt.1</featureId>
|
|
|
+ <item typeName=\"default_db:TEST_PERMS\">
|
|
|
+ <featureId>TEST_PERMS.99999</featureId>
|
|
|
+ </item>
|
|
|
+ <item typeName=\"default_db__x3A__TEST_PERMS:TestPermsAnt\">
|
|
|
+ <featureId>TestPermsAnt.1</featureId>
|
|
|
</item>
|
|
|
</root>
|
|
|
";
|
|
|
@@ -40,7 +43,7 @@ class Route_Test_XslRecurse extends RouteBase {
|
|
|
<tr>
|
|
|
<td><xsl:value-of select="featureId"/></td>
|
|
|
<td><pre>
|
|
|
- <xsl:copy-of select="php:function(\'testFetchWfs\',@typeName, string(featureId))/node()"/>
|
|
|
+ <xsl:copy-of select="php:function(\'testFetchWfs\', string(@typeName), string(featureId))/node()"/>
|
|
|
</pre></td>
|
|
|
</tr>
|
|
|
</xsl:for-each>
|
|
|
@@ -63,6 +66,7 @@ class Route_Test_XslRecurse extends RouteBase {
|
|
|
$proc->importStyleSheet($xsldoc);
|
|
|
$transformed = $proc->transformToXML($xmldoc);
|
|
|
DBG::nicePrint(htmlspecialchars($xml), 'xml');
|
|
|
+ DBG::nicePrint(htmlspecialchars($xsl), 'xsl');
|
|
|
DBG::nicePrint(htmlspecialchars($transformed), 'xml transformed');
|
|
|
echo "\n".'<hr>';
|
|
|
echo $transformed;
|