Search found 19 matches

by afuchs
Thu Sep 21, 2023 10:41 am
Forum: General XML Questions
Topic: XC0012: XProc does not get access to directory on Mac
Replies: 3
Views: 556

Re: XC0012: XProc does not get access to directory on Mac

Hi Adrian, Thank you for the reply. It probably is a Mac security issue, but it cannot be something that is uncommon, I guess. I have added calabash and java and jar to the "Full Disk Access" list, but it does not solve the problem I'm afraid. I would be very thankful for any further sugge...
by afuchs
Tue Sep 19, 2023 6:35 pm
Forum: General XML Questions
Topic: XC0012: XProc does not get access to directory on Mac
Replies: 3
Views: 556

XC0012: XProc does not get access to directory on Mac

Hello, I am new to XProc, and hope therefore that this is something elementary, which can be solved in two clicks. I have added to my pipeline, which worked well, read and wrote files in its directory, a p:directory-list step. <p:directory-list path="'IN'"/> (I have changed 'IN' to many di...
by afuchs
Fri May 13, 2022 2:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging a Framework: Work Environment?
Replies: 2
Views: 929

Re: Debugging a Framework: Work Environment?

Thank you Radu! This does sound like something I'd been missing for a long time, will have a long attentive look at the webinar and the feature.
by afuchs
Fri May 13, 2022 12:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging a Framework: Work Environment?
Replies: 2
Views: 929

Debugging a Framework: Work Environment?

Colleagues and Experts, How do you go about debugging an extensive framework? Background: I have a framework written for a rather complicated NLM-based project. The FW has to be maintained and extended on a regular basis. It also has bugs due to human condition. Debugging a certain snippet of code u...
by afuchs
Fri Jan 27, 2017 1:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dynamic link construction for authors
Replies: 2
Views: 2320

Re: dynamic link construction for authors

Dear Radu,

Thank you so much. Especially for the tip for nesting oxy-functions - this was never very transparent for me and solves so much.

Regards,
Alexey
by afuchs
Fri Jan 27, 2017 12:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: dynamic link construction for authors
Replies: 2
Views: 2320

dynamic link construction for authors

Dear Developers, I need an element in author mode to act like a link, but dynamically: if there is an <xref> with @rid inside corresponding to a paragraph @id elsewhere, it should take the author to that paragraph. Until this moment the paragraphs with the corresponding IDs were in another XML file ...
by afuchs
Thu Jan 26, 2017 4:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath involving ${selection}
Replies: 7
Views: 4640

Re: XPath involving ${selection}

Hi Radu, As far as I know the ${selection} editor variable is only expanded in parameter values. Exactly. So if I try to write an XPath expression that should select, say, one of two actions to be taken depending on the XML structure of the selection, it probably won't work? Let's say I want to repl...
by afuchs
Thu Jan 26, 2017 1:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath involving ${selection}
Replies: 7
Views: 4640

Re: XPath involving ${selection}

Hi Radu, Thank you for the prompt reply! I am currently working with 17.1 for a certain reason, so probably even oxy-selected-element() would not be available. But it's anyway about the second case that you mention, and yes, I think it could be a sensible addition for the field "If this XPath e...
by afuchs
Thu Jan 26, 2017 12:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath involving ${selection}
Replies: 7
Views: 4640

XPath involving ${selection}

Dear Developers, When defining an action in Author Mode, is it possible to involve the current selection made by the user e.g. in the XPath controlling the action? One of the problems that I am trying to solve is to avoid nesting of a certain element when surrounding a selection; I'd check for the p...
by afuchs
Mon Jun 23, 2014 3:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Searching for attributes (customizing search?) in the author
Replies: 3
Views: 2747

Re: Searching for attributes (customizing search?) in the au

Thank you, Radu, While the "Find all elements..." suggestion is a viable workaround, and would suffice, I'd still like to understand what you are suggesting further. Where would the conversion of the attribute into an element (and back) take place? I am not supposed to alter the schema, so...
by afuchs
Mon Jun 23, 2014 11:08 am
Forum: SDK-API, Frameworks - Document Types
Topic: Searching for attributes (customizing search?) in the author
Replies: 3
Views: 2747

Searching for attributes (customizing search?) in the author

Dear Board Members, In a large body of XML data representing a critical-historical edition in a loose interpretation of NLM Book DTD, a number of people is working through the authoring tool. The actual text of the edition has hard line breaks with hyphenation, which makes it difficult to find words...
by afuchs
Wed May 21, 2014 9:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: Variable default value for $ask()
Replies: 4
Views: 3072

Re: Variable default value for $ask()

Thank you, Radu,

I am impatient to start trying it out.
by afuchs
Tue May 20, 2014 3:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Variable default value for $ask()
Replies: 4
Views: 3072

Re: Variable default value for $ask()

Thank you, Radu, I am looking forward to the release. As for now, I have come up with a workaround through CSS using oxy_editor with a value composed of the necessary XPath expressions. However, I still cannot force a default value into the combo, so that the user does not start with an unset value....
by afuchs
Tue May 20, 2014 12:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Variable default value for $ask()
Replies: 4
Views: 3072

Variable default value for $ask()

Dear Board Members, I am setting up an author action for a certain framework. The action is relatively simple and uses the ChangeAttributeOperation to, well, change an attribute of the node that has been right-clicked. I use the "editor variable" ${ask} and the user is prompted for the des...
by afuchs
Mon May 19, 2014 4:12 pm
Forum: TEI
Topic: footnote/reference numbering synchronisation
Replies: 2
Views: 6798

Re: footnote/reference numbering synchronisation

For the protocol: preliminary solution found. ref[target]:before { font-size: 70%; vertical-align: top; link: oxy_concat(oxy_base-uri(), "#", attr("target")); content: oxy_xpath( oxy_concat( "if (exists(//note[@xml:id eq '", attr(target), "'])) then", " c...
by afuchs
Mon May 19, 2014 2:41 pm
Forum: TEI
Topic: footnote/reference numbering synchronisation
Replies: 2
Views: 6798

footnote/reference numbering synchronisation

Dear Board Members, In TEI documents, I have <ref> elements throughout the document targeting <note> elements representing footnotes and placed at the end of the document, over IDs, as expected. I'd like to enumerate the notes in the authoring mode, and link them to the refs. So far the only method ...
by afuchs
Mon May 19, 2014 2:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Overriding xml-stylesheet PI with framework CSS
Replies: 4
Views: 3083

Re: Overriding xml-stylesheet PI with framework CSS

Ok, sorry, I got it the right way now.

Thank you very much for your help, I am aware of my options now.
by afuchs
Mon May 19, 2014 2:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Overriding xml-stylesheet PI with framework CSS
Replies: 4
Views: 3083

Re: Overriding xml-stylesheet PI with framework CSS

Thank you, Radu! It is indeed a good option and I will probably try it out soon. I oversaw the option "ignore CSSs in the associated document type" and as you pointed it out, I'd venture to ask: why does it not suffice to solve the problem? I.e., why is the CSS specified by the PI not igno...
by afuchs
Mon May 19, 2014 11:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: Overriding xml-stylesheet PI with framework CSS
Replies: 4
Views: 3083

Overriding xml-stylesheet PI with framework CSS

Dear Board Members, Is there a way to make oXygen apply a CSS from a framework despite an xml-stylesheet PI inside the XML document referring to an external CSS file? I have hundreds of files someone created from a template that included the PI, and would like to exclude the unnecessary complication...