Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml - methods and commands
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Xml - methods and commands
Divers
Thread ID:
00592916
Message ID:
00592916
Vues:
52
Hi,

I have very little experience with XML. Please help me with the following. Thank you.

The following is the layout of my XML document. I have used line numbers for reference, please note that they are not part of my XML document.

1) ?xml version="1.0"?
2) Created by: XYZ,
3) !DOCTYPE batch SYSTEM "Document.dtd"
4) Root
5) Details> "abcde" 6) Root

I know that using "createProcessingInstruction" (line 1) & "createComment" (line 2) methods I can create the objects.

My Questions are -

(A) How do I create the object in line 3. CreateNode method does not let me do it. Here's what I know -

NODE_DOCUMENT_TYPE The name of the document type; for example, the xxx in .

(B) But how do I add the objects - comment, Processing Instruction, & Document type to the XML object, so that when I use ("C:\Temp\PubInfo.XML") the first 3 lines appear as shown above.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform