select text in editor with xpath queries

Are you missing a feature? Request its implementation here.
maws
Posts: 2
Joined: Fri Jan 06, 2006 12:08 pm

select text in editor with xpath queries

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

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

Best Regards,
George
maws
Posts: 2
Joined: Fri Jan 06, 2006 12:08 pm

Post by maws »

Hi,

I need to extract data together with the xml markup.

Take care,
maws
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
Post Reply