Simple WYSIWiG XML editor

Hello,
I try to write a simple XML editor using Swing. I have no problem processing the XML document itself (parsing XML, DTD and CSS) but now I need to display the parsed document and allow the user to edit it.
My idea is to use "decorators" configured at runtime (by the parsed CSS) wrapped around the DOM elements, but how should I display it and make it editable? I don't want to care about formatting if it's not really necessary - I'd like Swing to do as much of it as possible.
Thanks in advance for all your hints
Tommy

Vim works pretty good, its free, and has syntax highlighting. You would need to be familiar with using vi. http://www.vim.org/
If you use Eclipse, you can get http://www.oxygenxml.com/. It's not free, but its cheaper than XMLSpy.
I haven't found anything better than XMLSpy, even though its expensive.
Does anyone know of another tool that can generate a sample instance document from a schema, and/or a schema from an instance document? I find that handy in XMLSpy.
-Scott
http://www.swiftradius.com

Similar Messages

  • Simple XML Editor

    Is there a simple, FREE, XML editor out there (written in Java)?
    I am using an XML file format for a small application I wrote, and I would prefer to edit the file using an XML editor, since it is easy to screw up the file in a text editor.
    If you've used Forte or Netbeans, all I want is a simple XML editor like the one that is built into the IDE.
    Thanks for any information.

    Vim works pretty good, its free, and has syntax highlighting. You would need to be familiar with using vi. http://www.vim.org/
    If you use Eclipse, you can get http://www.oxygenxml.com/. It's not free, but its cheaper than XMLSpy.
    I haven't found anything better than XMLSpy, even though its expensive.
    Does anyone know of another tool that can generate a sample instance document from a schema, and/or a schema from an instance document? I find that handy in XMLSpy.
    -Scott
    http://www.swiftradius.com

  • XPontus XML Editor 1.0.0.1 is out

    Hi everybody,
    The version 1.0.0.1 of XPontus XML Editor(http://xpontus.sf.net) is out. XPontus XML Editor is a simple XML Editor oriented towards text editing. It aims to become the free alternative to commercial XML IDEs such as XML SPy or Oxygen XML Editor. The software has been entirely rewritten to support plugins, so most of XPontus features are provided as plugins which can be extended.
    Here is the complete list of the major features :
    * Modularity : XPontus is now built on top of a plugin framework to allow a modular development. Most of XPontus features are provided as plugins.
    * Code completion : For general XML files code completion is built on the fly when a DTD or schema is associated to the document. XSL completion is provided using a DTD embedded in the XML code completion plugin. For HTML files, an embedded DTD is used to create the code completion database.
    * XPath 1.0 support
    * Syntax coloring is enabled for XML and HTML related files.
    * XSL transformations (PDF, HTML, XML, SVG, TEXT).
    * Check if XML is well formed
    * Validation : Simple XML validation, Batch XML validation, External schema validation
    * Code structure browser to display the hierarchic structure of XML and HTML files
    * Code indentation is available for XML and HTML related files.
    * File system abstractions : XPontus will be able to use file system abstraction which means that a FTP file and a local file will be look all the same to the application.
    * Schema generation/conversion(Generation of DTDS, XML schemas, Relax NG grammars from XML files).
    * HTML Documentation generation from XML schemas or DTD
    * Installers are available for Windows, Mac and Linux/Unix(FreeBSD, Solaris)
    * Platform independence : As XPontus is written Java, it runs on most platforms such as Windows, Mac OS, Linux/Unix, FreeBSD, MacOS, Solaris.
    * Drag and drop support, common editing features(print, etc.), control+pageup and control+pagedown to switch between windows.
    Homepage : http://xpontus.sf.net
    Screenshots : http://xpontus.sourceforge.net/screenshots.html
    Downloads : http://sourceforge.net/project/showfiles.php?group_id=118253
    Features : http://xpontus.sourceforge.net/features.html
    License : GPL
    Author : Yves Zoundi

    No, it is not built on top of Netbeans. The plugin framework is JPF(http://jpf.sourceforge.net) and the docking framework is vldocking(http://www.vlsolutions.com/en/products/docking/).
    XPontus XML Editor is a standalone Java Swing application for now. The integration with Netbeans and Eclipse is planned for future releases. That will depends on the team's knowledge of Netbeans Platform and SWT.
    Thank you for your interest in XPontus XML Editor
    Yves Zoundi
    http://yveszoundi.blogspot.com

  • NitroX XML editor

    I'm using a dark scheme when using the PC for long hours.
    The NitroX xml editor doesn't seem to have customization for the colors.
    Is there some way to customize them?

    It is very simple, goto Window > Preferences > Workbench > Colors and Fonts
    on the right hand side panel expand Basic select Text Font and then click
    Change button modify the values and dismiss Preferences you will start
    seeing the relative changes for the editor
    M7 Support
    "fff fff" <[email protected]> wrote in message
    news:[email protected]..
    I'm using a dark scheme when using the PC for long hours.The NitroX xml editor doesn't seem to have customization for the colors.
    Is there some way to customize them?

  • XPontus XML Editor

    This is the first release candidate of XPontus XML Editor 1.0.0(http://xpontus.sf.net). There are now linux packages and a real windows installer. I tried to integrate most of comments to improve the usability.
    Changes:
    Changes to Project Administration
    * Moved the revision control system from CVS to SVN
    Changes to the Code Base
    * Spring is used as container and for IOC.
    * Changed from simple object serialization to XStream to save user settings.
    * Moved from observer pattern to JGoodies bindings for UI mappings
    * Allowed the user to customize more settings(font, tab size, jtidy settings,etc.).
    * Add a tree view to browse the XML code structure
    * Added support for XMLDiff
    * The API has been cleaned to reuse code
    Changes to Design
    * No more annoying popup windows when you don't need them
    Changes to the user interface
    * Changed Splitpane windows to VlDocking framework components
    http://xpontus.sf.net
    Yves Zoundi
    Message was edited by:
    zoundi

    No, it is not built on top of Netbeans. The plugin framework is JPF(http://jpf.sourceforge.net) and the docking framework is vldocking(http://www.vlsolutions.com/en/products/docking/).
    XPontus XML Editor is a standalone Java Swing application for now. The integration with Netbeans and Eclipse is planned for future releases. That will depends on the team's knowledge of Netbeans Platform and SWT.
    Thank you for your interest in XPontus XML Editor
    Yves Zoundi
    http://yveszoundi.blogspot.com

  • Build a xml editor using swing

    I would like to know a simple way to build a xml editor using swing. The editor should present the xml in a tree structure, THe user should be able to modify the xml in the editor and save it.

    Try reading this from [The XML Tutorial|http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPDOM4.html#wp64247] for discovering how to display the XML tree first, this is the first point to build a XMLNotepad like solution.

  • How to create a WYSIWIG HTML editor

    I need to create a WYSIWIG HTML editor and I'm thinking of using Swing.
    I realise many have done this before and that there are products already on the market ranging from Coffee Cup to Dreamweaver.
    However, this will be for a specific application where my users will need to drop some composite objects on to the web page -- these objects will generate chunks of HTML containing some of my own attributes with a special syntax. These objects might be as simple as a textbox with a label, or something more complex.
    So the idea is that the user selects the object they wish to create by clicking a particular icon in a palette. The cursor changes to a cross-hair as the mouse is moved across some sort of canvas pane. The user clicks where they want the top left-hand corner of the object to be (rubber banding not necessary). A dialogue pops up asking for some context-sensitive properties for the object. At this point, the system can work out the HTML object it needs to create, i.e. tags, attributes, etc.
    So far the canvas pane has acted as a simple drawing surface, perhaps with a set of grid lines to aid the user in positioning. But at this point, know that we know the HTML object required, I want it to be rendered on the pane as HTML.
    Is it possible for a pane to be both a canvas an an HTML renderer like this, so that I can achieve a true WYSIWYG effect ? Does anyone understand what I'm talking about ?! Are there any examples of how I would go about this ?
    Thanks

    Is it possible for a pane to be both a canvas an an HTML renderer like this, so that I can achieve a true WYSIWYG effect ? Does anyone understand what I'm Check out JEditorPane and JTextPane for HTML support. You have to do JEditorPane.setEditable(false) to make it render html. It also SUCKS as a web container - no support for style sheets, forms, javascript, etc.
    It is definitely possible to add components into or over the JEditorPane to show lines and other things. I'm just not sure what the point of this is.

  • Copied  using ImportNode,  copied document is not opening in xml editor

    Hi
    I am copying portion of the the xml into anothe xml file .
    using
    Element lElement = (Element) lNewFeedDocument.importNode(lIncomingFeedDocument.getElementsByTagName(
                            "content").item(0), true);
                lNewFeedDocument.appendChild(lElement);
    lNewFile = new File(lDestinationFile);
                lNewFileOutStrearm = new FileOutputStream(lNewFile);
                lNewFilePW = new PrintWriter(lNewFileOutStrearm);
                lTransformerFactory = TransformerFactory.newInstance();
                lTranfrmNewDocToFile = lTransformerFactory.newTransformer();
                lTranfrmNewDocToFile.transform(new DOMSource(lNewFeedDocument),
                    new StreamResult(lNewFilePW))i am able to see the initial xml content in xml editior after copying due to some character i am not able to see it in xml editor. it is dipalying An invalid character was found in text content in browser on accessing the copied content using xml editor.
    i noticed that this is happending when the initial content is having something like 1235-7654 i removed all the '-' from be part of numerices then it works fine. if it is part of charachater nothing restricting. input xml content is wrapped with CDATA. pls give me suggitions what could be the workaround for it.

    Hi!
    I have explored the XSL file and found the template used for displaying the article content, which you can see under.
    Is it possible to look into the "urTxtSTd" to check the style sheet settings?  Or is it a way to use another stylesheet for displaying links inside this "Body" element?
    <xsl:if test="((Body!=''))">
              <span class="urTxtStd">
                <a>
                  <xsl:if test="$accessibilitymode='true'">
                    <xsl:attribute name="tabindex">1392</xsl:attribute>
                  </xsl:if>
                  <span style="color:#474c4c;">
                    <xsl:call-template name="outputvalue">
                      <xsl:with-param select="Body" name="value"/>
                    </xsl:call-template>
                  </span>
                </a>
              </span>
    </xsl:if>
    Regards,
    Asle

  • Is there a Simple free Text Editor for Belle?

    Symbian has been around for a very long time but I'm still struggling to find a
    simple free text editor where I can create a *.txt file and write down information in it or perhaps I don't know about it, so I was wondering is anyone familiar in any free text editor compatible with Belle?
    Thanking you in advance.
    Bobak.

    I use Notes. You know, standard notes. And easiest way to get this "file" out from the phone is to send it by e-mail.

  • Open XML file in XML editor with certain XPath highlighted

    Hi,
    I have wrtten an XML compraison tool which produces an HTML report of all differences and shows the xpaths where there is a mismatch. I want the user to be able to click the xpath (like hyperlink) and open the XML file using IE or any opensource XML editor (xerlin?) such that the xpath node is the current highlighted node on the screen. That way the user can right away seee where the mismatch is. As a next step I wanted to open both the control and the test files side by side with both xpaths highlighted.
    Any idea how I can approach the problem? Is there any open osurce software I can leverage and integrate my application,
    Thanks,
    Abhijit

    This code of yours should work.
    <% if display_url is not initial. %>
    <script language="Javascript">
    url = "<%=display_url%>";
    window.open(url, "Zusatz", "width=400, height=400");
    </script>
    <% endif. %>
    what happens, it doesnt open new window at all or new window is opened but xml doesnt show up?
    Regards
    Raja

  • Online XML editor?

    Hi
    I am looking for an JSF component or framework which allows editing XML documents online in the browser.
    I found the tags richTextEditor and richTextEditorInsertBehavior, but thats out of the box only for text editing.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/
    My wish list:
    - platform Win XP + IE6
    - XSD validation, marking erros, etc.
    - Intellisense feature e.g. suggestions in XML document for possible XSD values ...
    Until now I found:
    - http://www.bitfluxeditor.org/
    - http://www.ektron.com/ewebeditproxml.aspx
    - http://xopus.com/xopus-web-based-wysiwyg-xml-editor.html
    Someone used richTextEditor as online XML editor? Other advices ...?
    If I remember correctly than exists editing possiblities in the Oracle Enterprise Manager for XML documents of the application server? What framework is under the hood?
    Best regards
    Tobi

    Can i know where to download the CookTop?or CookTop2?

  • Merlot XML Editor

    Hi,
    I've tried to get to www.merlotxml.org for 3 days now, but the site
    is down! I want to get a copy of the Merlot XML editor. Does anyone
    know of a mirror site for it?
    Thanks,
    Pedro Madrid
    [email protected]

    I am looking for the latest sources as well.
    I can send you the Version 1.1alpha1 including source code, or 1.1beta1 without source code. Send me an email to [email protected] if that would help you.
    It would be great if anybody can help me with the latest sources.
    Jo

  • Free XML Editor

    Hello All.
    I'm looking for a freeware/shareware xml editor that I can recommend to client.
    Needs to be able to view/edit xml schemas.
    30 day eval of XMLSpy or similar is not an option.
    Any experience and input is appreciated.
    tx.

    I don't understand this comment at all.
    This editor does not do a good job of displaying values of elements within the schema.
    >
    Then I'd say your client had better learn fast. JMO.
    Client is a bunch of mainframe programmers. They freak out looking at anything new. They need to deal with XML Schemas to understand the data that will be passed to their IMS Transactions. I'm looking for a nice tool that can visually represent this data in an intuitiave as possible format. Apparrantly they like XMLSpy, but the company wont pay for it.
    Personally I just use UltraEdit. I'm just trying to see if I can reduce their 'wiggout' factor by finding a similar tool to XMLSpy that is free.
    Thanks for your help.

  • MS XML Editor

    Hi,
    May I know whereto locate MS XML Editor in SQL Server ?

    Hi limssd,
    You are right. When we use SSMS to Visual Studio Tools for editing XML related files, Microsoft XML Editor is invoked.
    You must apply the update.
    As wrote in the article, the vulnerability may led to information disclosure.
    The vulnerability could allow information disclosure if a user opened a specially crafted Web Service Discovery (.disco) file with one of the affected software listed in this bulletin. Note that this vulnerability would not allow an attacker to execute
    code or to elevate their user rights directly, but it could be used to produce information that could be used to try to further compromise the affected system.
    Thanks,
    Jinchun Chen

  • XML Editor and it's "coding assistance" feature. Need info

    Hi all,
    I have posted it in XML forum, but I didn't get any reply. Trying my luck here :)
    Most of the XML editors have DTD based code assist in it. So it pops up enumeration list in the ATTLIST . Fine, but I want to be able to set a XML attribute value which can either be selected from the popup list or some other value not in the list can be typed in.
    Is it possible to write a DTD which will make it feasible. Or is there an Editor/Eclipse plugin which allows this?
    Any XML editors with XMLShema based code assist available (even if it won't address the above requirement)?.
    Thanks
    AV

    Thanks,
    I tried x-men; but it is not working with Eclipse
    3.0.1.
    let me check xml spy
    AVx-men is the XML editor used by MyEclipse... use it as part of MyEclipse if you can't find any other suitable editor
    but beware ! you might fall in love with that terrific plugin if you're doing WebApp developement ;)

Maybe you are looking for

  • Audio in my iMac is not working

    I was using an external speaker when the audio suddenly change to integrated speakers. Few minutes later, stopped all. I tried to turn on and off the computer, unplug and now, I can't hear the initial sound too. O bought this iMac an one week ago! An

  • Changing the Site URL of a Sharepoint site changes the content type order

    Description Changing the Site URL of a Sharepoint site changes the content type order of all lists that * contain folder content types * and have a custom content type order * where a folder content type is the first content type in order. Reproducib

  • I want to know if you can delete the apps that show up .. All the ones you look at or buy ? How do you get them off I pad ?

    I m wondering if you can delete the apps that show up that you have looked at or have purchased ? I have some that I'm trying to delete but don't know how to do it ...please help or let me know if it can be done ... Thanks

  • JBO-33001: Cannot find the configuration file /

    Hi, I've looked through several of the postings on this error, but have not found what I'm looking for. I created an Application Module that ended up having something corrupt in it, so I created a new Application Module and delete the old one. When t

  • Lightroom 5.2 Update in French

    I just downloaded 5.2 here in UK and when I start the installation, the important information section and the terms and conditions are in French. I halted the update as I didn't want Lightroom to be updated and find it all in French! Anyone else had