Generate XPath from selection

Are you missing a feature? Request it's implementation here.
Posts: 7
Joined: Mon Nov 10, 2003 10:20 pm
Location: Indiana University

Generate XPath from selection

Post by ningham » Mon Nov 10, 2003 10:26 pm

Currently, you can type in an XPath and it will highlight a portion of the XML file. You know, it would be really nice if we could highlight a set of nodes in the XML document and have Oxygen generate an XPath that would match your selection.

I'm working on a project where we're creating an XML language to define University courses. Part of the project is the ability to generate HTML pages on the fly from the course content - which means only showing a portion of the course at a time. Depending on the portions that we want to show....the XPath selections can get quite hairy. Having a way to select XML and generate XPath locations would rock big time.

It would probably be limited to selecting entire nodes....but still. Has anyone else thought about this?