Hi
I recently developed a reportingApp which after downloading xml report from third party, converts it into csv format.
This 3 party changed the dtd version of the reports saying it should not affect anyone
But my app broke as the xmlns reference changed, thus it didn't performed conversion.
so the xml report looks like as follow: (version 1_7)
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Report SYSTEM "https://abc.xxx.com/abc/reports/dtd/report_1_7.dtd">
<Report Name="Detail Report"
Version="1.7"
xmlns="https://abc.xxx.com/abc/reports/dtd/report_1_7.dtd"
ReportStartDate="2009-09-03T07:00:00-07:00"
ReportEndDate="2009-09-04T07:00:00-07:00">
........
and my xslt file is: (version 1_6)
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ebc=<A href="https://abc.xxx.com/abc/reports/dtd/report_1_6.dtd">https://abc.xxx.com/abc/reports/dtd/report_1_6.dtd</A>>
<xsl:strip-space elements="*"/>
<xsl:param name="lb" select="''"/>
<xsl:param name="sep" select="','"/>
........
How can I tackle this kind of problem ?
Thanks in advance