Hi,
I want to DTD and XMLNS in xml file useing xslt.
XMl Document:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Report SYSTEM "https://test.com/test/reports/dtd/tdr_1_11.dtd">
<Report Name="Transaction Detail"
Version="1.11"
xmlns="https://test.com/test/reports/dtd/tdr_1_11.dtd"
AccountID="testaccount"
ReportStartDate="2012-11-21T07:00:00"
ReportEndDate="2012-11-22T07:00:00">
<Requests>
</Requests>
</Report>
Result:
<?xml version="1.0" encoding="utf-8"?>
<Report Name="Transaction Detail"
Version="1.11"
AccountID="testaccount"
ReportStartDate="2012-11-21T07:00:00"
ReportEndDate="2012-11-22T07:00:00">
<Requests>
</Requests>
</Report>
Can you please share the xslt for the above one.?
I want to DTD and XMLNS in xml file useing xslt.
XMl Document:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Report SYSTEM "https://test.com/test/reports/dtd/tdr_1_11.dtd">
<Report Name="Transaction Detail"
Version="1.11"
xmlns="https://test.com/test/reports/dtd/tdr_1_11.dtd"
AccountID="testaccount"
ReportStartDate="2012-11-21T07:00:00"
ReportEndDate="2012-11-22T07:00:00">
<Requests>
</Requests>
</Report>
Result:
<?xml version="1.0" encoding="utf-8"?>
<Report Name="Transaction Detail"
Version="1.11"
AccountID="testaccount"
ReportStartDate="2012-11-21T07:00:00"
ReportEndDate="2012-11-22T07:00:00">
<Requests>
</Requests>
</Report>
Can you please share the xslt for the above one.?