Search found 15 matches

by stutzmann
Thu Jun 24, 2021 3:20 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 6
Views: 2644

Re: xslt and authentication over HTTPS

Hi,
have not tested it yet, but seems to be exactly what I need. Thank you for the piece of advice. The documentation and sample pages deal with my issue and I should be able to overcome it.
Cheers,
D
by stutzmann
Tue Jun 15, 2021 2:20 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 6
Views: 2644

Re: xslt and authentication over HTTPS

Hello Adrian, thank you very much for your explanations. As a matter of fact, the authentication for the API in a browser is done through a HTML form and not with a popup. If it helps for a workaround: from the authentification (API html or else), I will get an authentification token, but I don't kn...
by stutzmann
Thu May 27, 2021 4:09 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 6
Views: 2644

Re: xslt and authentication over HTTPS

Hi Tavy,
thank you for your reply. Alas, there is no prompt for a login/password and the authentication method http://user:password@site.com/ is not allowed in HTTPS. So, my issue is not solved. Do you have any additional idea?
Cheers
by stutzmann
Thu May 13, 2021 4:22 pm
Forum: XSLT and FOP
Topic: xslt and authentication over HTTPS
Replies: 6
Views: 2644

xslt and authentication over HTTPS

Hi all, I want to process documents that are delivered through APIs (xml or json files) which requires the users to be authenticated. When I am using a web browser, the requests and paramaters are processed correctly. When I am using XSLT to fetch the documents, for example with: <xsl:variable name=...
by stutzmann
Tue Feb 02, 2021 6:07 pm
Forum: Other Issues
Topic: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)
Replies: 6
Views: 2145

Re: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)

Hi Sorin, thanks, that is the answer! The following adaptations based on your advice all work, with for all options (full path, relative path, url): ${xpath_eval(doc('file:/C:/Users/UserName/Documents/project/sources/biblio.xml'))} ${xpath_eval(doc('${cfdu}\biblio.xml'))} ${xpath_eval(doc('https://r...
by stutzmann
Tue Feb 02, 2021 4:47 pm
Forum: Other Issues
Topic: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)
Replies: 6
Views: 2145

Re: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)

Hi Sorin, thank you for your question. To simplify, the command $xpath_eval(document()) apparently stops the process with or without quotes ${xpath_eval(document(C:\Users\stutzmann\Documents\saint-omer\st-omer\sources\catalogues\notices\biblio-saint-omer.xml))} ${xpath_eval(document('C:\Users\stutzm...
by stutzmann
Sat Jan 30, 2021 9:52 pm
Forum: Other Issues
Topic: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)
Replies: 6
Views: 2145

Re: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)

Hi, I was able to create a workaround with Author Mode Operation XSLTOperation and am sharing it here. Source, Target: empty Script below, solving the issue for options B and C (relative URL), otherwise just use the absolute URL in the variable "path-biblio". Now, I have the same issue wit...
by stutzmann
Wed Jan 27, 2021 5:47 pm
Forum: Other Issues
Topic: Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)
Replies: 6
Views: 2145

Syntax for ${xpath_eval} and xpath function document() for external documents (URL, ${cfdu}, parent folder)

Hello everyone! After a long time without question, here I am again. Thank you so much for all the help that you have already provided to me and others! The present question stems from the same needs as https://www.oxygenxml.com/forum/topic19849.html. The problem was solved as suggested by Sorin wit...
by stutzmann
Fri Jan 24, 2020 10:09 am
Forum: XSLT and FOP
Topic: Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)
Replies: 2
Views: 3524

Re: Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)

Thank you, Radu, for your reply! I will work along the lines, trying to have the most common processing and addressing the root.
:-D
by stutzmann
Thu Jan 23, 2020 12:43 am
Forum: XSLT and FOP
Topic: Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)
Replies: 2
Views: 3524

Using <with-param> in <xsl:apply-templates> (and not in <xsl:call-templates/>)

Hello, I am transforming an XML-TEI document and want to pass on some parameters. It works in <xsl:call-template>, but not in <xsl:apply-templates/> with a @mode. Oxygen version: <oXygen/> XML Editor 21.1, build 2019120214 Saxon HE 9.8.0.12 the following templates do not <xsl:template match="p&...
by stutzmann
Fri Apr 12, 2019 10:33 am
Forum: Other Issues
Topic: Syntax with string-join in CSS (child elements, normalize-space)
Replies: 3
Views: 1906

Re: Syntax with string-join in CSS (child elements, normalize-space)

Dear Sorin,
this is absolutely clear. Thank you for your help, again and very very much.
Dominique
by stutzmann
Fri Apr 12, 2019 10:28 am
Forum: Other Issues
Topic: Chain $ask, $answer and combobox
Replies: 6
Views: 3188

Re: Chain $ask, $answer and combobox

Thank you for the answer and for pointing me to a possible solution. I am looking forward to the future improvements. Will you then consider to integrate conditions with other Oxygen editor variables such as ${selection} as well ?
by stutzmann
Sat Apr 06, 2019 8:56 pm
Forum: Other Issues
Topic: Syntax with string-join in CSS (child elements, normalize-space)
Replies: 3
Views: 1906

Syntax with string-join in CSS (child elements, normalize-space)

Hi everyone! (this topic is stemming from: https://www.oxygenxml.com/forum/post53287.html) Thanks to Sorin's indication, I was able to transfer one condition in oxy_xpath with quotes and apostrophes in string-join (inverting both quotes and apostrophes), either to display some content bibl[sameAs]{ ...
by stutzmann
Sat Apr 06, 2019 7:00 pm
Forum: Other Issues
Topic: Chain $ask, $answer and combobox
Replies: 6
Views: 3188

Re: Chain $ask, $answer and combobox

Dear Sorin, thank you so much for your answer which has really helped me forward in the last few days. From your comments on CSS, I have some more question, but I will open an new topic. For this one, if we try to go around $answer, I wonder if one can integrate $ask within $ask. Indeed the followin...
by stutzmann
Mon Apr 01, 2019 1:25 pm
Forum: Other Issues
Topic: Chain $ask, $answer and combobox
Replies: 6
Views: 3188

Chain $ask, $answer and combobox

Hello everybody! (sorry if the question is already dealt with elsewhere, I was not able to find it) Working on TEI xml files, I am trying to create a function that will prompt the user to give an input and then use the latter to look up for references in an external file. I am not sure if I am conce...