Free FlashDen file of the month. Click here to download.
Search  

RAW XML EDITOR WITH HINTING AND VALIDATION

HomeBrowse CategoriesUtilitiesFormsRaw XML Editor with Hinting and Validation

Raw XML Editor with Hinting and Validation

This is an online editor for XML files. It edits the raw XML data, allowing for code hints and even XML validation. Please note, the preview file uses a shared object to save, so that you can get a true feel of the editing process. If I put the same file up for the preview as in the download (using PHP to edit the actual XML ), many people would be editing at the same time, and it would not give an accurate representation. Please see the features below:

Features:

  • The code coloring allows for easy editing, and can be turned off if needed.

  • Will not only edit XML , but any text based file, such as HTML , edit your HTML website right online!

  • XML validation can tell you whether or not the XML has errors, and if you have the debugger version of Flash, it can tell you why if it failed.

  • The saving will check the saved file once complete, and validate that the save was successful, and alert if it may not have been.

  • There is a revert feature that allows you to revert to the last saved version.

  • A config file allows you to easily edit many things, such as what XML file is getting edited, what the colors are for the hinting, whether or not it does the hinting at all, and what kind of line breaks are used in the saved file (mac and windows use different linebreaks)

  • The config file is XML , so in theory you could even set up a CMS to edit the config for another CMS and edit infinite XML files between the two!

  • PHP driven, will work on any correctly set up PHP capable server.

  • DISCLAIMER : You must have a PHP capable server for this to work! If you are having problems saving it is most likely a problem with the PHP and will be specific to your server. You will have to contact your host or go to a PHP specific forum to ask questions.

    Website Templates:

    Image and Mixed Media Galleries:

    MP3 Players:

    Updating and Upkeep Tools:

    Website Parts and Components:

    Menus and Preloaders:

    Flash Effects:

    keywords: CMS , content management system, xml, edit, editor, manager, node, code color, code hint, code coloring, code hinting, attribute, CDATA , namespace, namespaces, save, saving, validate, check, revert, reverting, PHP , hypertext pre-processor

    Posted 6 months ago

    ITEM DISCUSSION

    Show Comments By

    Great stuff! I didn’t know something like that was possible in Flash.

    Posted 5 months ago

    wwwo0o0o0owwww Great file!! very useful, definetely $20.°°

    Posted 5 months ago

    amazing!!!! bookmarked!

    Posted 5 months ago

    Excellent, Bookmarked!

    Posted 5 months ago

    Nice File..Hope you can help!

    2 Questions:

    Hinting won’t work with my xml file…see structure below

    Question 1: How can I configure color hinting to work with the following xml file? Want everything in quotes colored.

    <?xml version=”1.0” encoding=”UTF-8”?>

    Question 2: Saved xml files no longer open correctly in notepad…stucture is lost…how can I correct this?

    Thanks Bickster

    Posted 5 months ago

    My message cut off…I emailed you my xml structure that color hinting is not working with.

    Also, saved files lose structure when opening in notepad…can this be corrected.

    Bickster

    Posted 5 months ago

    After looking at your XML I found both your problems.

    The hinting is working perfectly, every bit of text in your XML is a node, no text data, no CDATA , etc. So it is coloring it all the node color, which is exactly what it should do :) it is not portrayed as having attribute text colored, nor is that said in the description, and for good reason. That particular coloring separation would increase the processing necessary for parsing the text by many times on every keystroke (I know because I tried it already before putting up the project), essentially rendering this project not very useful to anybody, so sorry, but in order for a project like this to be possible in Flash it needs to have the extremely optimized parsing algorithm that I created for it :)

    Two, validate your XML using the button before saving, and you will find that there is a mistake. When I looked I found that you have an extra finishing tag for the last album node. This could very well make you lose your xml formatting. Also check your config file and make sure your line break type is correct for the OS you want to edit on later.

    It’s working exactly as advertised, just be careful in your editing. Validate your XML for mistakes often, and I would recommend only saving if the validation says it’s valid XML , else find your error or revert back to your last save :)

    If you have any more questions feel free to email me directly, thanks :)

    Posted 5 months ago

    And if you found fixing that did not solve your problem then email me as well, and I will do my best to make sure I find whatever problem there may be and update the project for all :)

    Posted 5 months ago

    Also when I go back to the html file for the XML Editor it goes back to the example and then I go check my site without saving in the XML editor and it loses all the information I added.

    Posted 5 months ago

    Thanks for respones

    I have 4 different xml file structures. All validate…all lose structure when opened in notepad…

    Please send me your email address and I will send you my files for assistance.

    Bickster

    Posted 5 months ago

    You send emails via the authors profile.

    Posted 5 months ago

    @mbond

    I’ve read your questions many times and I have no idea what you are saying or asking, please be more clear.

    Posted 5 months ago

    Hey MBMedia,

    I cannot send attachments via author interface as far as I can tell…Am I not accessing the correct area?

    Bickster

    Posted 5 months ago

    Go ahead and email me, tell me where you have your editor posted etc, and I’ll reply. Sorry, but I’m not willing to post my email address on a popular and crawlable html site, the spam would be horrendous.

    Posted 5 months ago

    Hey MBMedia,

    Thanks for your follow up!

    I understand your email concern.

    By the way…Great Application. I’ve put it to work on one page in particular and it really streamlines the editing process.

    Bickster

    Posted 5 months ago

    Hi

    Just a quick question about this file as im thinking of purchasing, can you control how big the editor is with out causing problems, as i need it to fit into a certain size area.

    Thanks

    Richard

    Posted 5 months ago

    The editor is a standalone page. If you are confident enough in your actionscript skills then you are welcome to try to incorporate it into another project, but it was not built to do that and I do not support it.

    Posted 5 months ago

    Ok

    Thanks, ive decided to brave it and give it ago, im sure i can make it fit in.

    I will let you know how i got on :)

    Richard

    Posted 5 months ago

    Well i have to say this file is awesome!

    it scaled down perfect and does exactly what i need.

    GREAT JOB ! also you should consider making a filebrowser/uploader all in one file, i know id defiantly purchase that off you.

    Richard

    Posted 5 months ago

    Hi

    Is it possible that this file can load .txt files and save them too ? Or is it possible you can do it and i can purchase that off you aswell ?

    Thanks

    Richard

    Posted 5 months ago

    The editor does not care about file type, it will load a .txt file just as easily as a .xml file :) Or any text based file for that matter (.xml, .htm, .html, .xsl, etc.)

    Posted 5 months ago

    Hello MBMedia,

    Your app is terrific!

    Your Flashden preview file uses a shared object to save, so that you can get a true feel of the editing process.

    I want to achieve this on my local computer…how is it done?

    Can you send me your demo?

    Bickster

    Posted 5 months ago

    Hey mate, did you get my email?

    Posted 5 months ago

    @ bickster

    For the curious, yes I did send it to him, and I’ll send it to other buyers if they request :P

    @ MSFX

    Sorry, put it aside because I wanted to glance at the code later and forgot about it, I’ll mail ya back today :)

    Posted 5 months ago

    Is it possible to publish this as a working AIR file?

    Posted 4 months ago

    it uses PHP , a server side technology, to do the actual file save. AIR runs locally, so it cannot use PHP (unless the user specifically sets PHP up to run on their computer). Therefore AIR has it’s own saving methods. So it would not be extremely difficult to do, but you would need to change the save method to use the AIR method of saving instead of PHP .

    Posted 4 months ago

    Cool! Really handy! Will have to buy it in the near future ;)

    Posted 4 months ago

    Just checking in to see if any updates occurred since I purchased.

    FIVE STARS * FIVE STARS

    Flashers…this file is awesome!!!

    Useful for anyone working with XML or text files.

    Thanks MBMedia

    Bickster

    Posted 4 months ago