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.

Paste as XML per default Options · View
caloemar
Posted: Monday, January 29, 2018 9:28:04 AM
Rank: Newbie

Joined: 1/29/2018
Posts: 4
Hello

When I want to copy and paste a tag in authentic view, XMLSpy requires me to first select if the either "Text" or "XML". This means I cant use CTRL+V when copy/pasting and I have to do it via the menu in the picture below. Otherwise it doesnt work.


Is there a way to tell XMLSpy to always Paste as XML when I press CTRL+V

Thanks.
vlad
Posted: Wednesday, January 31, 2018 7:44:28 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,842
Location: Mauritius
As far as I know it does paste as XML if you press Ctrl-V
caloemar
Posted: Thursday, February 1, 2018 8:34:14 AM
Rank: Newbie

Joined: 1/29/2018
Posts: 4
vlad wrote:
As far as I know it does paste as XML if you press Ctrl-V


Pressing CTRL+V does nothing though. I works only if I rightclick and navigate to "Paste as XML" like in the picture....
caloemar
Posted: Thursday, February 1, 2018 8:47:30 AM
Rank: Newbie

Joined: 1/29/2018
Posts: 4
vlad wrote:
As far as I know it does paste as XML if you press Ctrl-V


Pressing CTRL+V does nothing though. I works only if I rightclick and navigate to "Paste as XML" like in the picture....
caloemar
Posted: Monday, March 26, 2018 10:17:41 AM
Rank: Newbie

Joined: 1/29/2018
Posts: 4
caloemar wrote:
Hello

When I want to copy and paste a tag in authentic view, XMLSpy requires me to first select if the either "Text" or "XML". This means I cant use CTRL+V when copy/pasting and I have to do it via the menu in the picture below. Otherwise it doesnt work.


Is there a way to tell XMLSpy to always Paste as XML when I press CTRL+V

Thanks.


In case anybody cares, I ended up solving it by making a small macro that calls the paste function and binding it to CTRL+B

Code:

// If the currentView is authenticMode, paste the Selection
if(Application.ActiveDocument.CurrentViewMode==4) {
Application.ActiveDocument.AuthenticView.Selection.Paste();
}
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.