8

CFEclipse, XMLBuddy and Mach-II DTD

Posted January 31st, 2007. Filed under Code

A few days ago someone on the Mach-II mailing list posted about using the existing Mach-II DTD within Eclipse/CFEclipse to get code hints within the XML config file.

A few suggestions for XML editors came up (see end of this post for some links)… I remember doing this for Fusebox and as I’m now working with Mach-II thought I’d set it up again. I downloaded the free version of XMLBuddy and manually installed it into Eclipse. There is some confusion about using XMLBuddy in 3.2 but it works for me and I found a few other posts where people said they had no problems – YMMV.

Update: 2/11/2007:
Moved to my Wiki: CFEclipse, XMLBuddy and Mach-II DTD

Possibly Related:

  • No related posts found.
If you have enjoyed this entry. Please feel free to bookmark it using your favorite social bookmarking site

8 Responses so far

  1. Brian Kotek says:

    I hate it when I’m an idiot! I’ve actually been trying to do this for a LONG time and had basically given up. Thanks for explaining this, I can’t believe how easy it is and have no idea how I missed it.

  2. Jim says:

    Brian – don’t feel bad. I’ve been working on my first Mach-II application for a few months now without it…

    So far I’m finding it very useful- esp. in regards to closing tags which I always seem to forget!!

  3. dickbob says:

    How would I adapt this for Fusebox. I get the association stuff with XMLBuddy but not the path name you’re putting in the DOCTYPE.

    Can you help?

  4. Jim says:

    Check out this post by Nathan Strutz:

    http://www.dopefly.com/techblo.....?entry=101

    He’s using a different XML editor but it should be enough to get you going in the right direction.

  5. dickbob says:

    Okay, that helped a bit but even Nathan says “I wish I knew what that all meant”.

    It’s the path bit I don’t get. How do I tell the XML file, or CFEclipse, where I’ve put the DTD?

  6. Jim says:

    I need to sit down and play with this and figure out what exactly is required to make this work.

    I dumped my .dtd file in with my mach-ii.xml file.

  7. Jim says:

    OK – digging around it looks like you can also reference the .dtd file with a full path (this assumes you are on Windows)

    < !DOCTYPE mach-ii PUBLIC "-//Mach-II//DTD Mach-II Configuration 1.1.1//EN" "file:///d:/wwwroot/machii/mach-ii_1_1.dtd">

  8. dickbob says:

    Thanks, that’s helped.

Leave a Comment