Search found 28 matches

by Doug
Wed Jun 14, 2017 8:20 pm
Forum: Other Issues
Topic: Duplicate binding slot assignment error with docbook to pdf
Replies: 6
Views: 3665

Re: Duplicate binding slot assignment error with docbook to pdf

Hi Alex, Your solution worked. Thanks! I apologize for the delay in replying. I was off work for the day yesterday so did not get to get back to this issue until today. It took me a while to discover where the Saxon 9.6 transformer plugin had been installed and thus where to modify the plugin.xml an...
by Doug
Mon Jun 12, 2017 7:52 pm
Forum: Other Issues
Topic: Duplicate binding slot assignment error with docbook to pdf
Replies: 6
Views: 3665

Re: Duplicate binding slot assignment error with docbook to pdf

Hi Radu, Thanks for your help. Using the Saxon 9.6.0.10 (External) add-on for my Docbook 5 to pdf transformation with fo xsl and Apache fop solved my "Duplicate binding slot assignment" error. I am left with one problem that you might be able to give me further help with. First, I should s...
by Doug
Fri Jun 09, 2017 9:04 pm
Forum: Other Issues
Topic: Duplicate binding slot assignment error with docbook to pdf
Replies: 6
Views: 3665

Duplicate binding slot assignment error with docbook to pdf

Hi. I'm getting a "Duplicate binding slot assignment" error in a transformation to fo:xsl from a modified Docbook 5 schema document running through Apache FOP. There was a previous problem discussed on this forum a couple of months ago for a DITA transformation to pdf. As in that case my t...
by Doug
Tue Mar 14, 2017 12:54 am
Forum: Other Issues
Topic: Can't use ExecuteCommandLineOperation with button from css sylesheet
Replies: 3
Views: 2421

Re: Can't use ExecuteCommandLineOperation with button from css sylesheet

Well, I do have something maybe helpful to add. The correct name for one of the arguments for the ExecuteCommandLineOperation is the camel cased "showConsole", consistent with the other camel-cased arugments, not "showconsole" as mistakenly described in the documentation at https...
by Doug
Mon Mar 13, 2017 9:50 pm
Forum: Other Issues
Topic: Can't use ExecuteCommandLineOperation with button from css sylesheet
Replies: 3
Views: 2421

Re: Can't use ExecuteCommandLineOperation with button from css sylesheet

Never mind. I forgot to prefix the arguments with "arg-" From Oxygen Help > Custom CSS Functions > oxy_action () Function:
arg-<string> - All arguments with the arg- prefix are passed to the operation (the string that follows the arg- prefix is passed).

Doug
by Doug
Mon Mar 13, 2017 7:52 pm
Forum: Other Issues
Topic: Can't use ExecuteCommandLineOperation with button from css sylesheet
Replies: 3
Views: 2421

Can't use ExecuteCommandLineOperation with button from css sylesheet

I am trying to use the ExecuteCommandLineOperation operation from a css stylesheet and the css validator doesn't recognize the cmdLine, workingDirectory of showconsole arguments. I am using the description at https://www.oxygenxml.com/doc/versions/18.1/ug-editor/topics/dg-default-author-operations.h...
by Doug
Tue Feb 14, 2017 8:38 pm
Forum: Other Issues
Topic: search xi:inlude in xpath without resolving
Replies: 6
Views: 3670

Re: search xi:inlude in xpath without resolving

Thanks Adrian. Yes, that is correct "you want to update both the /xi:include/@xpointer value and the targeted @xml:id value". The Custom Refactoring Operation looks very useful. For this first time through I have succeeded with my one-off xquery update, but I will try the option you sugges...
by Doug
Tue Feb 14, 2017 5:46 pm
Forum: Other Issues
Topic: search xi:inlude in xpath without resolving
Replies: 6
Views: 3670

Re: search xi:inlude in xpath without resolving

Perfect Adrian. Thanks! That did it. I really thought it should be a configuration option, and I thought maybe I had seen such a setting sometime ago, but I failed to find it. I was lookng for transformation engine settings instead of parser settings. My real goal here is to update the the xpointer ...
by Doug
Tue Feb 14, 2017 3:38 am
Forum: Other Issues
Topic: search xi:inlude in xpath without resolving
Replies: 6
Views: 3670

search xi:inlude in xpath without resolving

Hi, this seems like it should be easy but I can't solve it or find an answer. I want to find xi:include elments via xpath, not what the xi:includes resloves to. I can't seem to do this with either the xpath dialog or the xpath/xquery builder. //xi:include returns no results. But //bibliomixed does. ...
by Doug
Mon Jan 30, 2017 7:43 pm
Forum: Other Issues
Topic: InsertFragmentOperation from css button
Replies: 3
Views: 2373

Re: InsertFragmentOperation from css button

Hi Radu, I've just got this working now. I don't think it was because the insertion place would have been invalid. I had considered that and I tried to make sure that wasn't what was happening. And I've made no changes in the schema before getting this working. I've also at times suspected the speci...
by Doug
Sun Jan 29, 2017 8:23 am
Forum: Other Issues
Topic: InsertFragmentOperation from css button
Replies: 3
Views: 2373

InsertFragmentOperation from css button

Hi All, I'm having trouble with inserting a fragment into the correct location using oxy_action inside oxy_button from the content property of a css style. I can't get the fragment to be inserted in the desired location and it instead goes into a location that makes no sense to me. My document and s...
by Doug
Fri Jan 20, 2017 9:20 pm
Forum: Other Issues
Topic: oxy_xpath with doc() in css, or force an action from oxy_combobox
Replies: 5
Views: 3579

Re: oxy_xpath with doc() in css, or force an action from oxy_combobox

Rereading your post Alex I see you suspected namespace might be the issue too. The only difference from your theory is my problem was the reverse, my default namespace was in my main file and the lookup ocm.xml file had no namespace, but the effect was the same.
by Doug
Fri Jan 20, 2017 9:11 pm
Forum: Other Issues
Topic: oxy_xpath with doc() in css, or force an action from oxy_combobox
Replies: 5
Views: 3579

Re: oxy_xpath with doc() in css, or force an action from oxy_combobox

Thanks Alex. You guys are the greatest! What service supporting a great product. So here's the story: My code wasn't so far off yours and while your code with the three test files you sent worked perfectly in my Oxygen installation, I still couldn't get mine to work even when paring it down to be al...
by Doug
Fri Jan 20, 2017 12:35 am
Forum: Other Issues
Topic: oxy_xpath with doc() in css, or force an action from oxy_combobox
Replies: 5
Views: 3579

oxy_xpath with doc() in css, or force an action from oxy_combobox

I have a problem where I have a document with elements with a code attribute with numerical values that ideally should be looked up in another document to get a text meaning for the code. I've tried to use the below css style (simplified with a hard coded code value). Only the "Test: " str...
by Doug
Fri Dec 09, 2016 7:23 pm
Forum: Common Problems
Topic: escape commas in oxy_combobox labels
Replies: 3
Views: 2137

Re: escape commas in oxy_combobox labels

Perfect! Thanks Radu. I was hoping it would be that easy. Solved.
Doug
by Doug
Thu Dec 08, 2016 7:44 pm
Forum: Common Problems
Topic: escape commas in oxy_combobox labels
Replies: 3
Views: 2137

Re: escape commas in oxy_combobox labels

A correction to my initial post is that my attempts so far either translate to commas before being displayed therefore breaking my match with the values list. e.g. "\," or don't translate at all remaining as a character entity or other form of character number in the list, e.g, "&...
by Doug
Thu Dec 08, 2016 7:27 pm
Forum: Common Problems
Topic: escape commas in oxy_combobox labels
Replies: 3
Views: 2137

escape commas in oxy_combobox labels

Is there any way to escape commas in the comma delimited values of labels in the oxy_combobox css form control function? For example: labels, "lastname\,firstname", lastname1\,"firstname1". I've tried backslashes and various forms of character entities or character numbers. They ...
by Doug
Wed May 27, 2015 4:55 pm
Forum: XQuery
Topic: Can't iterate across xlink:href attribute
Replies: 3
Views: 7337

Re: Can't iterate across xlink:href attribute

Thanks Radu. Declaring the xlink namespace at the top of the xquery file, same as the docbook namespace, solved my problem. That was the kind of stupid oversight that I fear and sometimes makes me reluctant to ask for help. Still leaves a question as to how to declare such when using an element cons...
by Doug
Wed May 27, 2015 2:22 am
Forum: XQuery
Topic: Can't iterate across xlink:href attribute
Replies: 3
Views: 7337

Can't iterate across xlink:href attribute

I get an error "Undeclared prefix in attribute name: xlink when I try to iterate across an xlink:href attribute and my attempts to declare the prefix either is ineffective or produces the error: "Evaluation will always throw a dynamic error: Namespace prefix" is invalid: xmlns:xlink&q...
by Doug
Tue May 26, 2015 6:31 pm
Forum: Other Issues
Topic: what to do about no jdbc:odbc bridge in Oxygen 17
Replies: 2
Views: 1945

Re: what to do about no jdbc:odbc bridge in Oxygen 17

Thanks Radu. That's about what I figured but wanted to confirm it.
by Doug
Tue May 26, 2015 6:19 pm
Forum: Other Issues
Topic: call java Base64.Encoder.encodeToString
Replies: 3
Views: 4522

Re: call java Base64.Encoder.encodeToString

Thanks Radu. I like the pure xquery solution. I'd rather not have the java dependency, at least not this one, because of issues like these. I've made the xf functions work, though I had to go through some data conversion loops and hoops for parameter data type matching. Turns out, I don't like the r...
by Doug
Mon May 25, 2015 10:54 pm
Forum: Other Issues
Topic: what to do about no jdbc:odbc bridge in Oxygen 17
Replies: 2
Views: 1945

what to do about no jdbc:odbc bridge in Oxygen 17

I knew this was coming. Now what? Oxygen 17 users Java 8 which no longer includes the jdbc:odbc bridge. I've been using this to connect to Microsoft Access databases and run queries with saxon http://saxon.sf.net/sql extensions. What is the best strategy to replace this bridge?

Thanks,
Doug
by Doug
Mon May 25, 2015 10:25 pm
Forum: Other Issues
Topic: call java Base64.Encoder.encodeToString
Replies: 3
Views: 4522

call java Base64.Encoder.encodeToString

I'm trying to call the java.util.Base64.Encoder.encodeToString method in an xquery transformation. I'm using Oxygen 17.0 Editor which uses java 1.8 which includes the Base64 class and its nested Encoder class. I'm using SaxonEE 9.6.0.5 in my transformation configuration with "Allow calls to ext...
by Doug
Wed Feb 11, 2015 5:47 pm
Forum: Common Problems
Topic: How can I export/import more than one transformation scenari
Replies: 3
Views: 2212

Re: How can I export/import more than one transformation sce

Thanks Adrian. That answers all my questions. I am using Oxygen Editor 16.1. My problem two fold, I was only looking at possibilities from Documnent->Transformation->Configure Transformations and I was indeed confusing associating with selecting. I completing overlooked the obvious Options->Export G...
by Doug
Wed Feb 11, 2015 1:02 am
Forum: Common Problems
Topic: How can I export/import more than one transformation scenari
Replies: 3
Views: 2212

How can I export/import more than one transformation scenari

I want to export nearly 70 global transformation scenarios so that a colleague of mine can import them into his new Oxygen installment on his local machine. Despite that the export/import scenarios options in the configure transformation window says "export selected scenarios" it will only...
by Doug
Fri Jan 31, 2014 7:02 pm
Forum: Other Issues
Topic: functions in transformation scenario configurations
Replies: 5
Views: 2521

Re: functions in transformation scenario configurations

Thanks Radu. I'll look into result-document. Unforutuatetly my transformation is written in xquery. Is there anything equivalent for xquery? If not, perhaps I can pass the xquery results to xslt with something like saxon:transform.
by Doug
Fri Jan 31, 2014 5:36 am
Forum: Other Issues
Topic: functions in transformation scenario configurations
Replies: 5
Views: 2521

functions in transformation scenario configurations

Is there any way I can parse an editor or custom variable in the "Save as" field of the Output tab of a transformation configuration with perhaps an xpath of java function? I need to do something like fn:upper-case(fn:substring(${cfn},1,4)).xml
Thanks, Doug
by Doug
Mon Jun 17, 2013 6:52 am
Forum: General XML Questions
Topic: xproc: how do I reference a library of steps
Replies: 1
Views: 1964

xproc: how do I reference a library of steps

How do I reference a library of steps? I'm using Oxygen 14.2. Particularly I want to use cx:recursive-directory-list from xmlns:cx="http://xmlcalabash.com/ns/extensions". Also I will soon want to have a library of my own steps. From examples I've found on the web cx:recursive-directory-lis...