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