Is there XML editor, organized like form view, according DTD ?

Is there XML editor, organized like form view, according DTD
(or else XML scheme)

I want to enter XML data,
but not in pure XML,
or in arbitrary  XML in form view like in Microsoft XML notepad,

but to enter data by form fields according DTD.

Is there such a good thing

thanks.


Answer this question

Is there XML editor, organized like form view, according DTD ?

  • Alan Wills

    Yes, I want grid form that shows fields,
    that is being shown according XSD,

    and thus once entered with data
    can not produce errors, except number-text conversions.

    row XML - is good percepted thing,
    muffled one, if considered really,
    not in smalles sizes and structures,
    it is much better to work with applied entities,
    not thinking about formats, studio editors,

    Easy and adequate and structured view,
    that simple reflect XSD to XML evident relation-
    is desired thing.


  • Anthony Fine

    The XML editor in VS 2005 can convert DTD to XSD so you could then plug that XSD into a DataSet to get the DataGrid editing.  I guess I need to see a picture to know what you are really asking for...
  • Flame999

    Visual Studio has an "XML Data Editor" that maps the XML to a DataSet then lets you edit the set using the WinForms DataGrid view.
  • Godfreydsa


    Sorry you did not mentioned DTD or else schema,
    accrding with datagrid must be a form for XML nodes,
    or sets of nodes,

    I need not arbitrary  editor, but defined by DTD,
    point to whwere this is used.

    after this,
    If possible, also,  provide reference to some code.

  • Cairn


    I want now just some functionality:

    that editor provided sub-fields defined in XSD,
    and from the left the next root node of which sub-nodes or
    atributes is edited.

    Is it inadequite for task of editing XML with defined schema,
    to be common task of applying XSD 

    ________________

    Or no one invented it, and I must easily write it myself for some days
     

  • jlove

    Yes, it looks what is need,

    with only collection of nodes must be kept.

    As well as collection of collections
    i.e. using some tree-view instead of list -view.


  • AK WG99

    Sounds like the XML Data Editor in VS, when i load this XML into it:

    <BookStore xmlns="http://www.books.org">
      <
    Book>
        <
    Title>Where is the daily bread </Title>
        <
    Author>Jimmy Jones</Author>
        <
    Date>1998-05-03</Date>
        <
    ISBN>1-90009-555-6</ISBN>
        <
    Publisher>Foo Publishing</Publisher>
      </
    Book>
      <
    Book>
        <
    Title>Programming</Title>
        <
    Author>Bill Bob</Author>
        <
    Author>Joe Jam</Author>
        <
    Date>2003-05-09</Date>
        <
    ISBN>9-99999-999-9</ISBN>
        <
    TOC ChapterCount="2">
          <
    Preface StartPage="1" PageCount="2"></Preface>
          <
    Chapter StartPage="3" PageCount="16">Basics</Chapter>
          <
    Chapter StartPage="20" PageCount="15">Advanced</Chapter>
          <
    Appendix StartPage="36" PageCount="10"></Appendix>
        </
    TOC>
        <
    Publisher>Prog Publishing</Publisher>
      </
    Book>
        
    I get this kind of grid based UI:  
    http://clovett.slide.com/c/XML+Data+Editor/3245550 


  • snamaki

    There is something like this in the XML editor in Visual Studio 2005 called "code snippets" such that when you have a DTD or XSD schema associated with your XML document and you type the beginning of a new tag:

    <book>|</book>

    Then type TAB you get a schema generated snippet where you can tab through the green fields to fill in the details.

    <book id="int">
        <
    title>string</title>
        <
    author>string</author>
        <
    price>string</price>
        <
    publisher>string</publisher>
    </
    book>

    This obviously saves a lot of typing.  See http://msdn.microsoft.com/library/en-us/dnxmlnet/html/xmltools.asp for more details.

    It sounds like you want a grid view Forms based version of this sort of thing.


  • Is there XML editor, organized like form view, according DTD ?