How do I generate a linq to xml infoset w/ a DTD reference? -


I need to create an XML infosette but keep the infoset in the context of the client's DTD. Required to include this DTD reference out of the desired

  & lt ;! DOCTYPE Auto Application System "http://www.clientsite.com/public/DTD/autoappV1-3-level2.dtd">  

This reference is directly sitting on the XML declaration. Neither do the Xprocessing Instruction or Execalation Job, do I need to use another type?

You must add your Daddy using the XDocumentType object. For more information see this to be noted. It is necessary that there is considerable limited processing for exponential DTD, though ().

....

  using the system; Using System.Linq; Using System.Collections; Using System.Collections.Generic; Using System.Xml; Using System.Xml.Linq; Public Class Main Class {Public Fixed Zero Main () {XDocument xDocument = New XDocument (); XDocumentType documentType = New XDocumentType ("Books", blank, "Books.dtd", tap); XDocument.Add (document type, new XElement ("Books")); Console.WriteLine (xDocument); }}  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -