Results 1 to 5 of 5

Thread: Doctype Statement with VB

  1. #1
    Jan Ulrich
    Guest

    Doctype Statement with VB

    Hy, my problem is that i want to make a small vb prototyp with which i can produce a xml-file. So I do this with the

    Dim oDoc As DOMDocument

    my problem is that i want to create a xml-file which look like the next example:

    <?xml version="1.0"?>
    <!DOCTYPE mydoc SYSTEM "myDTD.dtd">
    <Account>.....</Account>

    .......

    and so on but i found nothing how i can create the second statement
    <!DOCTYPE mydoc SYSTEM "myDTD.dtd">

    I use vb 6.0 and Microsoft XML v3.0

    Please help me soon
    Regards, Jan

  2. #2
    Addicted Member Renee K's Avatar
    Join Date
    Jun 2002
    Posts
    163
    Hello,

    I am trying to find the answer to this question as well, so instead of starting a new thread I'm bumping this one up. I am using VB6 and I can not find any documentation on creating this either.
    There is not a dom.CreateDocumentType, so how can I do this?

    <!DOCTYPE mydoc SYSTEM "myDTD.dtd">

    Thanks in advance
    .·*¨) ¸.·*¨) ¸.·*¨*
    (¸.*´ ¸.·´*'~*Renee~* (¸.*´~*



    Funny how the little things can stop you dead in your tracks.

  3. #3
    Addicted Member Renee K's Avatar
    Join Date
    Jun 2002
    Posts
    163
    Is using fso or something to that effect the only way to do this?
    .·*¨) ¸.·*¨) ¸.·*¨*
    (¸.*´ ¸.·´*'~*Renee~* (¸.*´~*



    Funny how the little things can stop you dead in your tracks.

  4. #4

  5. #5
    Addicted Member Renee K's Avatar
    Join Date
    Jun 2002
    Posts
    163
    Thank you Martinliss. Your response is greatly appreciated I wanted to ensure that I wasn't overlooking something.
    .·*¨) ¸.·*¨) ¸.·*¨*
    (¸.*´ ¸.·´*'~*Renee~* (¸.*´~*



    Funny how the little things can stop you dead in your tracks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width