IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Copy XPath Behavior Options · View
dplumber
Posted: Wednesday, November 5, 2014 11:40:53 PM
Rank: Newbie

Joined: 11/5/2014
Posts: 1
Is it possible to change the default behavior on XPath copy so that it is not specific to the index of the selected element?

For example:
If I select an element and either Copy XPath in context menu or use the copy button on the XPath/XQuery window I will get:
/ws:Worker_Sync/ws:Worker[16]/ws:Summary/ws:Employee_ID

I always have to change to be (remove index):
/ws:Worker_Sync/ws:Worker/ws:Summary/ws:Employee_ID

Can this be defaulted in Options/Preferences? I upgraded from XMLSpy 2005 and in the older version it did not use indexes. I can understand it can be useful, but there are times I need to see all values (for all elements) for XPath.

Thank you.
K101
Posted: Thursday, November 12, 2015 9:33:38 AM
Rank: Advanced Member

Joined: 2/27/2009
Posts: 438
It's not possible to limit the selection XPath copy function in that manner. You should submit a feature request by opening XMLSpy's Help menu and selecting, "Support Center."
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.