Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml - methods and commands
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Xml - methods and commands
Miscellaneous
Thread ID:
00592916
Message ID:
00592916
Views:
54
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.
Next
Reply
Map
View

Click here to load this message in the networking platform