Writing a simple XML editor

I need to write a simple XML/SVG code editor for my application. I basically want to display the contents of an XML DOM so that if the user changes the text in the editor the DOM will be updated to reflect this.
What would be the best way to do this?

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=XML+SVG+site%3Asourceforge.net

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

  • 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

  • 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

  • How to create simple XML database in oracle 11g

    Hi,
    what are the steps to followed to create a simeple custormer XML database.
    Like storing .xml file into XMLType, writing simple xml schema.....like that
    how to register the .xsd
    how to insert the xml data
    how to querying the the data base with xquery
    Thanks in Advance

    Have a look a the FAQ on the main page of this XMLDB forum. That's a good source to start (besides the XMLDB Developer Guide manual).

  • 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.

  • Covnert Complex XML to Simple XML tags using Adapter Module

    Hi
    <buyer>
    <fnParty:partyIdentifier partyIdentifier="GER" partyIdentifierQualifierCode="SenderAssigned"/>
    </buyer>
    I want to convert above complex xml into following simple xml document
    <buyer>GER</buyer>
    I am writing adapter module. Could any one please tell me how to convert this
    Regards
    Sowmya

    Hi,
    Is partyidentifier is source xml and buyer in target xml?
    You can map the attribute to buyer element in message mapping itself.
    Why do you want adapter module?
    Thanks,
    Beena.

  • Iweb page modified with a simple html editor , now not display navigation menu

    Hello i've designed a site http://www.ballettgastini.ch with Iweb and was working till i've the needs to update a simple text in one page and get it via ftp from the server, modified with a simple html editor !!!!, and update via ftp on the server. now the page do not diplay the navigation menu bar !!!! the page is here  : http://www.ballettgastini.ch/stundenplan.html ... any suggesion ? i'm working now with a new imac with no possibility to modify the entire web site on the server...but the need it's really to change few text lines so i think to use a simple html editor... any ideas ? thanks luca giay turin italy

    Why not continue in the topic you started earlier?
    https://discussions.apple.com/message/21158910#21158910
    Anyway, the scripts folder with essential files is missing :
    http://www.lakesweddingmusic.com/Scripts/iWebImage.js
    + more
    And this is missing too :
    http://www.lakesweddingmusic.com/feed.xml
    No feed, no menu.
    And we keep finding more webpage. This one is made with iWeb 1
    http://www.lakesweddingmusic.com/The_Barn.html

  • Simple XML DOM Example Needed.

    I need a simple XML DOM Example that reads in the XML and makes objects out of the elements. The tutorial from sun is very sketchy and seems to good far too quickly.
    Thanks,
    Dave.

    You can find some examples:
    http://java.sun.com/xml/jaxp/dist/1.0.1/examples/#building
    http://newinstance.com/writing/javaxml2/javaxml2_examples.html
    http://www.docuverse.com/domsdk/index.html#tutorial
    http://www.devx.com/sourcebank/search.asp

  • Looking for existing ABAP Text/XML editor

    Is there any XML editor or Text Edit with an XML flavor in NW?
    We need following function:
    1. upload /edit/ save XML to some place.
    2. we can retrieve it via some methods, or we can access via writing program.
    If cannot find editor for all of the criteria, at least it match the first one,
    Is anyone have experience in related area?
    Thanks a lot for your help.

    Hi Daixiong,
    Thanks for your help, 
    yeah, you are right, same in T-code "SPROXY", we could found an XML editor, but the method is used for PI(XI) only per comments from the function owner, and the methods are not public, the XML editor is only tiny part of the PI workbench, so it may not be suitable.
    I would like to have a clean Text/XML editor.
    Thanks for your reply again:)
    BR Carlos

  • JPanel which uses reflection to create a simple property editor

    Hi everyone,
    Here's what I'd like: a custom JPanel, let's call it DesiredJPanel, which can be passed an object as an argument, and which then detects all the public getters and setters on that object, and then creates a simple property editor, with default behavior for numbers, booleans, Strings, etc. It might be used like this:
    JDialog dialog = new JDialog(new DesiredJPanel(someObjectWithSettersAndGetters)));
    dialog.setVisible(true);
    Then we'd get a dialog populated with the current values of all relevant properties. The panel could have a button bar, with an ok button. When you press it, all the properties of someObjectWithSettersAndGetters are set according to what the user has entered in the fields of the panel.
    This seems like a pervasive, standard use case. It also seems like javabeans is intended for this. E.g. quoting wikipedia: "JavaBeans are reusable software components for Java that can be manipulated visually in a builder tool." Moreover, there is the java.beans.PropertyEditor interface.
    And yet I can't find anything that seems to do this, so I end up writing the same boilerplate style code over and over. I found some commercial thing (this is for an open source project), and netbeans does what I'm after but it's netbeans. I want something that can be used in any swing app.
    Apologies if I've overlooked something obvious or posted this to the wrong forum (if either, please let me know!).
    All best and happy new year!
    - Jeff

    Not exactly what you asked for, but reasonably close. You can use my [Bean Table Model|http://www.camick.com/java/blog.html?name=bean-table-model] to create a JTable which will display all the properties in a single row of a table. The appropriate renderer/editor is used for each property.
    Play with the commented out code in JButtonTableModel class to see what you get for your particular bean.

  • Change over from a simple Xml call to a rpc-Http call ....

    Hi there,
    I need to change over from a simple Xml call:
    <mx:XML id="urlsGeneral" source="http://www.mySite.com//.../AFS.xml"/>
    to a rpc-Http call which is updating the readout if Xml is changed at any time.
    I forgot to mention the most important item yet a very simple one: I need this only to be displayed in a title etc, and NOT a datagrid or else example below.
    title="{urlsGeneral.urlGeneral.(@name==0).age}
    I tried a lot today, but just can't get it right as the id="urlsGeneral" is always the problem.
    Any help would be appriciated !!! Thanks in advance. regards aktell2007
    <urlsGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    </urlsGeneral>
    Another call:
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    public var myData:ArrayCollection;
    protected function myHttpService_resultHandler(event:ResultEvent):void {
    myData = event.result.urlsGeneral.urlGeneral;
    ]]>
    </mx:Script>
    <mx:HTTPService
    id="myHttpService"
    url="http://www.mySite.com//..../AFS.xml"
    result="myHttpService_resultHandler(event)"/>
    Preferable I wanted something like this to work:
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.FaultEvent;
    import mx.managers.CursorManager;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.xml.SimpleXMLDecoder;
    // Don't use here as it is already used in .swc !
    /* import mx.rpc.http.HTTPService; */
    private var myHTTP:HTTPService;
    private function initConfigCall():void {
    myHTTP = new HTTPService();
    myHTTP.url = "com/assets/data/changesAppAIRPIOne001.xml";
    myHTTP.send();
    myHTTP.resultFormat = "xml";
    myHTTP.addEventListener(ResultEvent.RESULT, resultHandler);
    myHTTP.addEventListener(FaultEvent.FAULT, faultHandler);
    CursorManager.setBusyCursor();
    private function resultHandler(evt:ResultEvent):void {
    var xmlStr:String = evt.result.toString();
    var xmlDoc:XMLDocument = new XMLDocument(xmlStr);
    var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
    var resultObj:Object = decoder.decodeXML(xmlDoc);
    // Removed [0] on single node !
    appUpdateAvl.text = resultObj.application.configApp.appNewUpDate;
    appLastChanged.text = resultObj.application.configApp.appLastChanged;
    appChangedSections.text = resultObj.application.configApp.appChangedSections;
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    private function faultHandler(event:mx.rpc.events.FaultEvent):void {
    var faultInfo:String="fault details: "+event.fault.faultDetail+"\n\n";
    faultInfo+="fault faultString: "+event.fault.faultString+"\n\n";
    mx.controls.Alert.show(faultInfo,"Fault Information");
    var eventInfo:String="event target: "+event.target+"\n\n";
    eventInfo+="event type: "+event.type+"\n\n";
    mx.controls.Alert.show(eventInfo,"Event Information");
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    ]]>
    </mx:Script>

    Hi again,
    These days there are more quetions than answeres on any forum, and very seldom anybody shares the answer if they lucky enough to work it out so here is my answer for the above question
    Change over from a simple Xml call to a rpc-Http call ....
    I had it all along as a commend noted: // Removed [0] on single node !
    So instead of title="{urlsGeneral.urlGeneral.(@name==0).age} it would be now title="{resultObj.urlsGeneral.urlGeneral.[0].age} and now it works perfectly well. I hope that one or the other of you can use the answer and the code !!! regards aktell2007

  • 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

Maybe you are looking for

  • Can i use an external power supply to power second graphics card?

    hello. i currently have an ATI 5870 in my 2010 Mac Pro. I want to throw a Quadro 4000 in there as well, but i need one more 6-pin power cable. can i plop the quadro into the second PCI slot, buy a PC desktop power supply and just let it sit on the ou

  • How to transfer pics from galaxy phone to mac

    How do I transfer pics from my Galaxy s2 phone to my MacBook Pro??  Help!!! Thanks.

  • My audio gets out of sync with my video after capturing from Sony XDCAM

    Everything was fine. I captured content from my Sony XDCAM, created pieces, no problem. Imported a .mov from my older FCP (5.1.4). FCP told me I needed to change my settings in order to use the .mov with my current timeline. I said OK, fine. Now, whe

  • Facts and dimensions joins

    Hi, Can we use three fact tables in rpd and not join them? We have three facts and four dimensions. All the four are common dimensions to the three fact tables. So in the physical joins can we just join the facts to the dimensions? will it be accepat

  • Converting String to Date

    Hi All, I am having a String value which is having date in the format 'Mon Apr 14 16:07:52 IST 2008' Now I want to convert this String to Date with format 'mm/dd/yyyy' , to display as 04/14/2008 Also I want to add 5 days to this date and display the