Search found 6 matches

by Ali-a
Fri Aug 21, 2020 4:21 am
Forum: Common Problems
Topic: Using both Ask and Xpath_eval Editor Variables
Replies: 5
Views: 1852

Re: Using both Ask and Xpath_eval Editor Variables

Hello Sorin, Coming back to this after all this time. I'm using Oxygen 20 now and have attempted using your line of code in the <image href="${xpath_eval(substring-after('${ask('Please choose image path:', generic)}','ish:/'))}"/> I have also attempted it with the substring-after nested in...
by Ali-a
Wed Jun 10, 2020 6:59 am
Forum: Common Problems
Topic: Using both Ask and Xpath_eval Editor Variables
Replies: 5
Views: 1852

Re: Using both Ask and Xpath_eval Editor Variables

Thanks Sorin,

I get the following error when using what you have posted. I'm not sure if the syntax is still correct, there are apostrophes nested within apostrophes?

Code: Select all

:Paste failed due to: Unmatched closing ')' near index 6
.+=',''))}=.=en-US=High.png
Thanks,
Ahmed
by Ali-a
Wed Jun 03, 2020 6:54 pm
Forum: Common Problems
Topic: Using both Ask and Xpath_eval Editor Variables
Replies: 5
Views: 1852

Using both Ask and Xpath_eval Editor Variables

I want to ask the user for the url of an image, the image always starts with 'ish:/' and so I want to use the substring-after the 'ish:/' as the url path. I'm attempting to do that with the fragment insertion below in an Oxygen action. However, the syntax is incorrect and I'm wondering if I should n...
by Ali-a
Thu May 07, 2020 5:50 pm
Forum: XSLT and FOP
Topic: XProc Source Variable
Replies: 6
Views: 2694

Re: XProc Source Variable

Thanks Octavian, I'm new to XProc as well. I guess I'm not sure how to do that myself. I can add the parameter on the parameter tab and the ask msg will show up as expected when I run the XProc image.png However, I'm not sure how to then utilize that parameter in the XProc for the main <p:input port...
by Ali-a
Tue May 05, 2020 5:57 pm
Forum: XSLT and FOP
Topic: XProc Source Variable
Replies: 6
Views: 2694

Re: XProc Source Variable

Thanks Octavian. Is there any other way I can have a user specify a file on a directory so that they can run a XProc transformation on it?

Thanks,
Ali
by Ali-a
Tue May 05, 2020 8:51 am
Forum: XSLT and FOP
Topic: XProc Source Variable
Replies: 6
Views: 2694

XProc Source Variable

Hello, I'm fairly new to XProc, but I am running a XProc where I am running multiple stylesheet passes. As seen below: <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0"> <p:input port="source"/> <p:inp...