Page 1 of 1

select text in editor with xpath queries

Posted: Fri Jan 06, 2006 12:17 pm
by maws
There is "Edit->Select All". I would find "Edit->Select with Xpath" very useful.
Use case:
User has a file opened in a editor, clicks menu, enters xpath and the editor selects nodes that the query returns. She or he can then copy/cut/paste the text selected to another file.
Regards

Posted: Mon Feb 06, 2006 12:22 pm
by george
Hi,

You can very easily create a stylesheet to extract that content and then use it in other files.

Best Regards,
George

Posted: Tue Feb 07, 2006 2:01 pm
by maws
Hi,

I need to extract data together with the xml markup.

Take care,
maws

Posted: Tue Feb 07, 2006 3:28 pm
by george
XSLT is good for that, if you want the same content for instance you can use xsl:copy-of instead of xsl:value-of.

Best Regards,
George