XML Editors
Sep 13th, 2006 by Karen
I’ve been using <oXygen/> on my Mac to do XML editing and there is a lot to like about it. My favorite is the tag completion functionality. I also like the little XPath box which you can type an XPath expression into and it will show you what that expression selects. (Note: you have to be in the XML document you want to select nodes from.) Very helpful for figuring out XPath stuff.
I was wondering if perhaps someone who uses <oXygen/> might be able to help me though. There seems to be a way to connect the XSLT I’m working on to the document I’m going to transform while I’m working on the XSLT so that when I’m doing a test or match attribute that it will help me fill in the XPath properly. Unfortunately, this is something that has to be set up and I haven’t got things configured correctly. Has anyone else gotten this to work? If so can you lend me a hand with the setup? I’ve followed the demo on the vendor’s site but alas no luck!
Update:
I finally got this to work. My problem was the XML I was trying to transform had a DTD that I didn’t have present in the correct folder. Once I put the DTD in the right place everything started working. Hooray! Just goes to show that the smallest details matter.


Hi Karen, I can walk you through it if you’d like. IM me at kseanclarke (AIM), ks_clarke (Yahoo), or ksclarke@anvil.lisforge.net (Jabber) — or email works too.
Look for documentation on “transformation scenarios.” If you hit the transformation button for the test document in your toolbar, it will automatically ask you for a tranformation scenario, at which point you can create a new one and specify the XSLT to use.