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.

Profile: ponzo
About
User Name: ponzo
Forum Rank: Newbie
Real Name:
Location home
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Sunday, November 3, 2013
Last Visit: Sunday, April 21, 2019 7:59:26 PM
Number of Posts: 8
[0.04% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Using regular expression for replacing substring
Posted: Saturday, December 17, 2016 11:24:12 AM
vlad wrote:
Oh I see! All the time I was looking at the replace function from the lang library (which applies to code languages Java/C#/C++). I did this, because cedcha has used value/oldstring/newstring parameters.

Your screenshot comes from XPath2 library which appears when XSLT2 or XQuery is selected. Those functions have input/pattern/replacement/flags parameters, they indeed work with patterns and their syntax can be found in W3C documentation.


Hi,

I found this post after 7 years. This is actually working on Mapforce desktop but not server side (XSLT2-library).
When tried to deploy into server its says "xpath2.replace: The function is not available for Built-In."

Mapping validation seems to have green light but server does not approve this.

I tried to find some setting/option for this but did not find any useful from Mapforce menus.

I wonder if anyone has tried to deploy into Mapforce server mapping with xslt2-functions and hopefully solved this ?
Topic: PERFORMANCE
Posted: Wednesday, September 7, 2016 1:48:10 PM
Thabk you for a fast reply.
I have never thought that problem could be fop.

Are there really options if pdf generation is highly automated by FF job ?
Topic: PERFORMANCE
Posted: Wednesday, September 7, 2016 12:59:52 PM
Hi,
I have XSLT(3) that produces PDF from XML. Running environment is UbuntuServer+FlowForceServer+StyleVisionServer.
Server is running 4core and 8Mb.

XSLT is complex and does time consuming complex math operations. Some case fe. 1Mb XML = 10hour PDF generation.
I know there must be several functions etc. to develop better xslt-code.

Can anyone say if it is better to try it with RaptorXML ?

Could it optimise processing xslt just as-it-is ?
Topic: Advanced string-join
Posted: Friday, March 20, 2015 6:58:43 PM
Tnx VLAD :)

Seems to be working. I have to study this method more.
This forum is really helpful.

Thanks again, you saved my weekend :)
Topic: Advanced string-join
Posted: Friday, March 20, 2015 12:45:12 PM
Hi,

I have xpath (in my sps template variables) like this:

for $n in ('A A','B A','C B','D B'),
$i in ($n ! fn:tokenize(.,' ')[1]) ,
$s in ($n ! fn:tokenize(.,' ')[2])
return
($i[$s='A'],$i[$s='B'])


And the result output is (4 lines):

'A'
'B'
'C'
'D'


What I really want is result like this one (2 lines):
'A','B'
'C','D'

I am really stuck on here. Maybe this is easy for someone ?
Topic: FF 2015 log problem
Posted: Sunday, September 28, 2014 4:16:47 PM
I wonder if someone has also problems with logging (info/warking/error) after newest update ?
Seems to me that nothing is added to log. Is this a bug or some new setting or ... ?
Topic: Stop Runaway FlowForce Job
Posted: Wednesday, June 11, 2014 4:32:56 PM
underpar wrote:
Hi,

it appears as if though you are both from the same company reporting the same problem. A support technician will be contacting you shortly with something that we would like you to try.



Hi,

I have similar case with forever running FlowForce job (also called a shell command).
Did you find any solution for this ?
Topic: How to use Step Results
Posted: Friday, March 28, 2014 10:59:11 AM
vlad wrote:
Altova definitely needs to better document how to handle such cases. Below is what works. Note the use of failed-step() function, because result doesn't exist in case of a failed step.

{content(stdout(failed-step()))}

or

{as-file(stdout(failed-step()))}

depending on what you need.


Hi,

I'like to read flowforce job-variable from another txt-file. Any idea how it would be ?
I've tried to read var1 from var1.txt file. And {folder} is trigger type as directory.

content(stdout({folder}/var1.txt), encoding = 'UTF-8')

This won't work :(

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