Jump to content

How to comment or remove the Doctype in the XML file


srkumar

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...