Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
wolfgang  
#1 Posted : Friday, August 14, 2015 7:53:11 PM(UTC)
wolfgang

Rank: Advanced Member

Groups: Registered
Joined: 6/23/2015(UTC)
Posts: 59
Germany

Thanks: 5 times
I'm looking for a possibilty to create debugging messages. A control action similar to console.log would help.
Thanks
bbv  
#2 Posted : Saturday, August 15, 2015 12:05:27 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 484

Was thanked: 81 time(s) in 81 post(s)
Where do you want to see these messages. In Messages window?
wolfgang  
#3 Posted : Saturday, August 15, 2015 12:08:28 PM(UTC)
wolfgang

Rank: Advanced Member

Groups: Registered
Joined: 6/23/2015(UTC)
Posts: 59
Germany

Thanks: 5 times
Yes, i guess messages window is right place.
Thanks
bbv  
#4 Posted : Saturday, August 15, 2015 12:14:15 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 484

Was thanked: 81 time(s) in 81 post(s)
You can use trace function within XPath statements to produce such messages - more than one per XPath if necessary. If you need an action you can "misuse" Update Node with some XML node which you don't need or Append Node actions.


Altova MobileTogether Experts
wolfgang  
#5 Posted : Saturday, August 15, 2015 1:03:36 PM(UTC)
wolfgang

Rank: Advanced Member

Groups: Registered
Joined: 6/23/2015(UTC)
Posts: 59
Germany

Thanks: 5 times
Can you please give a sample how to "misuse" a Node Update/Append action.
Thanks
bbv  
#6 Posted : Saturday, August 15, 2015 2:29:38 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 484

Was thanked: 81 time(s) in 81 post(s)
Sure. Attached is a very simple sample, where I'm using a pseudo-attribute @DebugMessage to show under Messages what I do

P.S. I've added your request to our internal list
File Attachment(s):
Sample.mtd (5kb) downloaded 63 time(s).
Users browsing this topic
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.