Re: WYSIWYG XML Editor

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

sushant.bhatia_at_gmail.com
Date: 02/24/05


Date: 24 Feb 2005 13:27:19 -0800

Hi Nick.
 To answer your questions:

a) The text that is scanned in can be anything, letters, books,
magazines. The result from the OCR software is an XML file.

b) Correct. The user is non technical.

c) I'm not sure what you mean by this. They should be able to change
the layout. The structure is defined in the DTD.

d) Correct. The user saves the document and it saves it as a XML file
again.

e) I guess its ok to create a schema from the DTD.

f) By formatting if you mean indentation etc then yes, they should be
able to change it.

g) Yes they should be able to see the text. In fact they should not
even know that they are editing "xml" ideally. They should think they
are using something like Word.

The idea is to have an "editor" like word that uses XML files instead
of Doc files.

Hope this helps. Thanks again Nick.
Sushant

Nick Malik [Microsoft] wrote:
> Hello Sushant,
>
> I download and ran that little app
> Let me understand your requirement a little better:
>
> a) the documents that they are scanning, and running through OCR, are

> printed XML documents? Or are you taking freetext output from OCR
and
> running it through a program to create XML?
> b) The user who is editing the text is non-technical and we don't
want them
> to (1) deal with xml tags, and (2) screw up the XML structure, right?
> c) The user should be able to see the results of their editing in a
WYSIWYG
> environment but they cannot change the structure or layout (unlike
the demo,
> which runs in IE and doesn't enforce either structure or layout). Is
that
> correct?
> d) When the user is done, the user should have the ability to
"submit"
> somehow, and the item saved is a valid XML file.
> e) You mention a DTD. Is a Schema available? Would it be OK if you
created
> a schema from the DTD?
> f) The person editing the text can be training on simple editing
> capabilities, but you don't want them changing the formatting, right?
> g) The goal of the WYSIWYG is to allow the user to "see" how their
text
> will look in the layout so that they can change it as needed.
Correct?
>
> Am I on the same page?
>
>
> --
> --- Nick Malik [Microsoft]
> MCSD, CFPS, Certified Scrummaster
> http://blogs.msdn.com/nickmalik
>
> Disclaimer: Opinions expressed in this forum are my own, and not
> representative of my employer.
> I do not answer questions on behalf of my employer. I'm just a
> programmer helping programmers.
> --
> <sushant.bhatia@gmail.com> wrote in message
> news:1109215588.414014.12180@g14g2000cwa.googlegroups.com...
> > Hi Nick,
> > Thanks for the feedback. I looked at the Demo for InfoPath and it
> > seems like its used for Forms. We need the editor to be much like
the
> > demo provided here :-
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlweb/html/xmldocedit.asp
> >
> > The idea being, that a user can for instance, scan a document, get
the
> > generated text from the OCR (which will be an XML file) and edit
that
> > using an editor.
> >
> > Therefore, there might be a CSS style sheet etc for that. From my
> > knowledge MSXML is used for applications like that.
> >
> > However, I am told that MSXML is quite a difficult tool to master
so
> > thats why we were hunting for components.
> >
> > As far as Altova goes, they have XMLSpy which is already a GUI
based
> > product. We need a control or the code for something like that.
> >
> > Jon - I hope this answers your question as to why we are using XML.
The
> > link i put in there is an example of that.
> >
> > Thanks Nick and Jon for your replies. Hope to hear more for you
two.
> > Sushant Bhatia
> >



Relevant Pages

  • setting/controlling font size when using PSGML package along with desktopaid and desktop
    ... So I have the PSGML package installed -- I've been using it for a few ... explored it much beyond using it for getting my xml editing done. ... i've had it config'd such that every xml file I edit used ... config'd desktopaid and desktop. ...
    (comp.emacs.xemacs)
  • binding and crud xml data source in asp.net
    ... I have an XML file that I need to enable for updates by a select user team. ... It's fairly easy to bind the XML file to a data grid in ASP.NET 2.0 for ... but I need to be able to allow editing of the data. ...
    (microsoft.public.dotnet.languages.vb)
  • binding and crud xml data source in asp.net
    ... I have an XML file that I need to enable for updates by a select user team. ... It's fairly easy to bind the XML file to a data grid in ASP.NET 2.0 for ... but I need to be able to allow editing of the data. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Repost of PhotoStory 3.1 Transitions/Effects on multiple photos
    ... if you're a geek/hacker and want to tackle the editing of the xml file in ... Gord Dibben MS Excel MVP ...
    (microsoft.public.windowsxp.photos)
  • Re: How to read an XML file in Visual C++ 6
    ... the DTD could be part of the XML file itself ... I'd vote for putting it in the resources. ... It makes no sense to put a remote URL into a file which is going to be used locally. ...
    (microsoft.public.vc.mfc)