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.

simple custom xslt function issue Options · View
theoa
Posted: Monday, October 22, 2018 6:39:12 AM
Rank: Newbie

Joined: 10/19/2018
Posts: 1
Location: Greece
Hi,

I have created a simple project and a simple xslt function in order to group some values which are duplicates and display them in a specific data structure.
The problem is that I cant draw a line from my custom function result (DuplicateGroup) to my Header datagroup.

I am pretty new to Mapforce and I would appreciate if I some can help me with this.

I have attached a zipped folder with my project.

My custom function xslt is in the file called custom.xslt and the desired output is in the file called outDifferent.xml

Thanks.

File Attachment(s):
sample.zip (4kb) downloaded 330 time(s).


island
Posted: Tuesday, October 23, 2018 10:34:18 AM
Rank: Newbie

Joined: 10/28/2002
Posts: 1,283
Location: AT
Hi,

only simple return types are supported for custom functions see documentation:

You can extend the XSLT 1.0 and 2.0 function libraries available in MapForce with your own custom functions, provided that your custom functions return simple types.

You can solve the the problem without having to use a custom xslt function however: See attached "test.mfd"

File Attachment(s):
test.zip (4kb) downloaded 330 time(s).

island attached the following image(s):
mapping.png

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.