An example:
The input XML file:
<?xml version="1.0" standalone="no?>                    
<?xml-stylesheet type="text/xsl" href="aa.xsl"?>
<!DOCTYPE  AA [
    <!ELEMENT AA ANY>
    <!ELEMENT BB ANY>
]>
<AA>
    .....
    <BB>.....</BB>
</AA>

The output file:
<?xml version="1.0" standalone="no?>                    
<AA>
    .....
    <BB>.....</BB>
</AA>
Note that the processing instruction and the internal DTD set were missing in 
the output file.
----- Original Message ----- 
From: "Arnaud Le Hors" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 10:41 AM
Subject: Re: How to save Document Type Declaration to a XML file?


> "ÃÂÃÂ" wrote:
> > 
> > but i can not serialize the processing instruction and DTD declaration to 
> > that file.
> 
> I don't have the answer to your question unfortunately but the XML
> declaration is NOT a processing instruction. Even though it looks like
> one.
> -- 
> Arnaud  Le Hors - IBM Cupertino, XML Strategy Group
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to