srkumar Posted January 8, 2008 Share Posted January 8, 2008 Hi... I want to comment or remove the DOCTYPE declaration from the xml file using XSLT.Thanks in Advace,srkumar Link to comment Share on other sites More sharing options...
boen_robot Posted January 10, 2008 Share Posted January 10, 2008 As far as I'm aware, the DTD of an XML file is never copied anyway. A new one must always be created with the xsl:output element. Link to comment Share on other sites More sharing options...
srkumar Posted January 14, 2008 Author Share Posted January 14, 2008 Hii Boon...Sorry, I thought i have not given my query clearly...I want to remove the DOCTYPE declaration from the xml file.. There are two DOCTYPE declaration in my xml file...1. In the separate XML file<!DOCTYPE biography SYSTEM "sample.dtd"><biography unit="2"><title>George Rogers Clark</title></biography>2. In the Main XML file where i have given link to all my xml files.<?xml version="1.0" encoding="utf-8"?><!DOCTYPE Catalog [<!ENTITY biography SYSTEM "biography.xml">]><Catalog>&biography;</Catalog>So, i have to remove the DOCTYPE declaration in the separate XML files manually.Please Advice,srkumar Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.