ponzo |
Newbie |
|
home |
|
|
None Specified |
|
Sunday, November 3, 2013 |
Sunday, April 21, 2019 7:59:26 PM |
8 [0.04% of all post / 0.00 posts per day] |
|
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 ?
|
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 ?
|
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 ?
|
Tnx VLAD :)
Seems to be working. I have to study this method more. This forum is really helpful.
Thanks again, you saved my weekend :)
|
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 ?
|
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 ... ?
|
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 ?
|
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 :(
|
|