forward slash problem in xsl ams xsql
- by Peter Kaleta
Hi
I have simple xsql
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="zad1.xsl" ?>
<page xmlns:xsql="urn:oracle-xsql" connection="java:comp/env/jdbc/mondialDS">
<xsql:query max-rows="-1" null-indicator="no" tag-case="lower" rowset-element="continents">
select name as continent
from mondial_user.Continent
order by 1
</xsql:query>
</page>
which gives me a list of continents with "australia/oceania" among them
i use XSL on above xsql :
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Root template -->
<res>
<xsl:template match="/continents">
<xsl:for-each select="row">
<re>
<xsl:value-of select="continent"/>
</re>
</xsl:for-each>
</xsl:template>
</res>
</xsl:stylesheet>
ANd firefox throws error : on wrong formated xml document with :
AfricaAmericaAsiaAustralia/OceaniaEurope
-----------------------------------^
Help apreciated