Search found 31 matches

by Martin Honnen
Mon Mar 26, 2018 3:53 pm
Forum: Feature Request
Topic: xsl:template name="xsl:initial-template" completion/suggestion
Replies: 2
Views: 378

xsl:template name="xsl:initial-template" completion/suggestion

Now that oXygen 20 uses Saxon 9.8 with XSLT 3 support as the default XSLT engine it might be nice to have any <xsl:template name="xsl: or maybe only <xsl:template name="xsl:i autocompleted/suggested as <xsl:template name="xsl:initial-template" as that is now the default name for ...
by Martin Honnen
Fri Mar 16, 2018 6:21 pm
Forum: XSLT and FOP
Topic: Running Saxon 9.8 EE in oXygen 20 with streaming disabled
Replies: 1
Views: 321

Running Saxon 9.8 EE in oXygen 20 with streaming disabled

I am exploring how to use Saxon 9.8 EE in oXygen 20 with stylesheets that use streaming. As using streaming is a new feature that is difficult to understand and requires redeveloping your XSLT skill set and as furthermore sometimes Saxon gives different results when using streaming compared when not...
by Martin Honnen
Tue Jan 09, 2018 10:58 pm
Forum: XSLT and FOP
Topic: Is there a way to enable XPath content completion in text templates in XSLT 3.0?
Replies: 5
Views: 912

Re: Is there a way to enable XPath content completion in text templates in XSLT 3.0?

Should I now get variable/function name completion in text value templates? I have tried with oXygen XML Editor 19.1, build 2017121318, but it doesn't seem to be implemented, for instance when I use an XSLT 3 stylesheet with expand-text="yes" on the root element and create a literal result...
by Martin Honnen
Thu Dec 21, 2017 3:59 pm
Forum: XQuery
Topic: Uncommenting code when writing XQuery
Replies: 2
Views: 536

Re: Uncommenting code when writing XQuery

I agree that using an XML comment with <root> <!--<foo>a</foo>--> <bar>1</bar> </root> is also an option a user editing XQuery might want or expect with the "Toggle comment" feature. On the other hand, I for sure was looking for a way for the editor to assist me in commenting out that elem...
by Martin Honnen
Thu Dec 21, 2017 11:42 am
Forum: XQuery
Topic: Uncommenting code when writing XQuery
Replies: 2
Views: 536

Uncommenting code when writing XQuery

Suppose I write an XQuery where I first have e.g. > <root> <foo>a</foo> <bar>1</bar> </root> and then decide to comment out the "foo" element node by selecting it with the mouse and using the context menu in XML Editor 19.1, build 2017121318, "toggle comment", then oXygen gives m...
by Martin Honnen
Mon Oct 16, 2017 2:32 pm
Forum: XQuery
Topic: Can't format XQuery with group by clause using ":="
Replies: 2
Views: 749

Can't format XQuery with group by clause using ":="

I have the following as an ".xq" file in oXygen XML Editor 19.1, build 2017092911 for $item in Base/Item group by $id := $item/Id order by $id return <Item> <Id>{$id}</Id> {for $marked in $item[Mark] group by $mark := $marked/Mark return <Marked name="{$mark}"> {sum($marked/Qty)}...
by Martin Honnen
Tue Oct 03, 2017 3:59 pm
Forum: XSLT and FOP
Topic: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin
Replies: 10
Views: 1958

Re: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin

Updating didn't seem to find a new version but I uninstalled the existing version and then looked for available plugins which offered me that 19.1 version and now with that installed and another restart the streamed processing with a streamable mode finally works without any warning. That's great, n...
by Martin Honnen
Sun Oct 01, 2017 12:57 pm
Forum: XSLT and FOP
Topic: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin
Replies: 10
Views: 1958

Re: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin

I have installed oXygen 19.1 and tried again whether streaming works, I continue to get the warning Engine name: Saxon-EE 9.8.0.4 (External) Severity: warning Description: The unnamed mode is streamable, but the input is not supplied as a stream with an XSLT 3.0 stylesheet and a streamable default m...
by Martin Honnen
Sun Jul 30, 2017 11:15 am
Forum: XSLT and FOP
Topic: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin
Replies: 10
Views: 1958

Re: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin

I have just tried to use an XSLT 3.0 stylesheet with streaming in oXygen 19 (2017062918) with the latest version of the Saxon 9.8 plugin (9.8.0.3), however, I still get a warning Engine name: Saxon-EE 9.8.0.3 (External) Severity: warning Description: is streamable, but the input is not supplied as a...
by Martin Honnen
Tue Jun 13, 2017 5:04 pm
Forum: Common Problems
Topic: Not able to start multiple instances of oXygen
Replies: 3
Views: 602

Re: Not able to start multiple instances of oXygen

Thanks, editing and using the .bat works fine to open multiple instances. Is there a way to call the .bat passing in a project file to open that particular project?
by Martin Honnen
Tue Jun 13, 2017 1:24 pm
Forum: XSLT and FOP
Topic: Is there a way to edit/change the built-in schema for XSLT 3.0 content completion?
Replies: 2
Views: 659

Is there a way to edit/change the built-in schema for XSLT 3.0 content completion?

I have run into problems using the XSLT 3.0 content completion in oXygen 19, when inserting an xsl:merge-source element it offers me attributes for-each-stream and for-each-item, it seems that for-each-stream was defined in earlier versions of the XSLT 3.0 draft but has been renamed since the latest...
by Martin Honnen
Mon Jun 12, 2017 8:33 pm
Forum: Common Problems
Topic: Not able to start multiple instances of oXygen
Replies: 3
Views: 602

Not able to start multiple instances of oXygen

I would like to start multiple instances of oXygen (version XML Editor 19.0, build 2017042020) on Windows 10, I have read https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/custom-system-properties.html and https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/set-parameters-for-app...
by Martin Honnen
Sun Apr 09, 2017 12:11 pm
Forum: XSLT and FOP
Topic: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin
Replies: 10
Views: 1958

Re: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin

Sorin, thanks for the pointer, however neither in my oXygen 19 installation nor in the documentation https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/preferences-xslt-saxon8.html have I been able to find the "enable streaming mode" option in the preferences settings. I do find ...
by Martin Honnen
Fri Apr 07, 2017 3:10 pm
Forum: XSLT and FOP
Topic: How to use a template named xsl:initial-template with XSLT 3.0 and oXygen 19
Replies: 3
Views: 929

Re: How to use a template named xsl:initial-template with XSLT 3.0 and oXygen 19

I managed to get it to work with oXygen by specifying the template name in the form

Code: Select all

{http://www.w3.org/1999/XSL/Transform}initial-template
instead of

Code: Select all

xsl:initial-template
.
by Martin Honnen
Thu Apr 06, 2017 1:00 pm
Forum: XSLT and FOP
Topic: Is there a way to enable XPath content completion in text templates in XSLT 3.0?
Replies: 5
Views: 912

Is there a way to enable XPath content completion in text templates in XSLT 3.0?

One of the new features in XSLT 3.0 is text value templates https://www.w3.org/TR/xslt-30/#text-value-templates, I had hoped to be able to use them in oXygen 19 with Saxon EE/PE and XSLT 3.0 support, I don't get any syntax errors using them but it seems there is no XPath variable/function content co...
by Martin Honnen
Thu Apr 06, 2017 12:49 pm
Forum: XSLT and FOP
Topic: How to use a template named xsl:initial-template with XSLT 3.0 and oXygen 19
Replies: 3
Views: 929

How to use a template named xsl:initial-template with XSLT 3.0 and oXygen 19

oXygen 19 now supports Saxon 9.7 EE or PE to run XSLT 3.0 transformations, a new feature in XSLT 3.0 is the predefined template name xsl:initial-template for a named template e.g. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Tr...
by Martin Honnen
Thu Mar 16, 2017 12:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem trying to use HTML2 (DITA 4 Publishers) with oXygen 18.1
Replies: 3
Views: 470

Re: Problem trying to use HTML2 (DITA 4 Publishers) with oXygen 18.1

I have now tried to switch to the DITA 1.8 version, as suggested, but I then get different errors System ID: C:\Users\UserName\Documents\OxygenXMLEditor\samples\dita\MobilePhone\mobilePhone.ditamap Scenario: mobilePhone (HTML2 (DITA 4 Publishers)) Input file: C:\Users\UserName\Documents\OxygenXMLEdi...
by Martin Honnen
Wed Mar 15, 2017 8:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Problem trying to use HTML2 (DITA 4 Publishers) with oXygen 18.1
Replies: 3
Views: 470

Problem trying to use HTML2 (DITA 4 Publishers) with oXygen 18.1

I am completely new to DITA so I maybe doing something wrong but I am having trouble using a transformation HTML2 (DITA 4 Publishers) on a DITA map/project, both with a simple project I created on my own as well as with the MobilePhone samples project. The build fails with an error saying BUILD FAIL...
by Martin Honnen
Fri Jan 27, 2017 3:30 pm
Forum: XSLT and FOP
Topic: Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin
Replies: 10
Views: 1958

Using XSLT 3.0 and streamable default mode with Saxon 9.7 EE as external plugin

I am using XML Editor 18.1, build 2016112217 with the up to date Saxon 9.7 EE plugin (which is currently 9.7.0.14) to run an XSLT 3.0 stylesheet where the default mode is defined as streamable: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.or...
by Martin Honnen
Mon Oct 24, 2016 1:39 pm
Forum: XSLT and FOP
Topic: How to export a stylesheet for Saxon-JS
Replies: 3
Views: 887

Re: How to export a stylesheet for Saxon-JS

Thanks for your reply. I understand that Saxon 9.7 is only available as a plugin and I have that installed. What my question is about is how I then use that plugin inside of oXygen to export a stylesheet for Saxon-JS? Is there any menu or setting that is geared towards that export? Or do I have to t...
by Martin Honnen
Sat Oct 22, 2016 10:58 pm
Forum: XSLT and FOP
Topic: How to export a stylesheet for Saxon-JS
Replies: 3
Views: 887

How to export a stylesheet for Saxon-JS

According to the "what's new" section in oXygen 18.1 : The add-on for working with Saxon 9.7 was updated to provide an action to obtain a compiled stylesheet that can be used with the new Saxon-JS I have tried to search the documentation for Saxon-JS but I am not even sure it recognizes th...
by Martin Honnen
Wed Sep 21, 2016 12:22 pm
Forum: Common Problems
Topic: Using an XQuery //foo/@bar gives "Your query returned an empty sequence."
Replies: 6
Views: 1162

Re: Using an XQuery //foo/@bar gives "Your query returned an empty sequence."

In general XQuery is more powerful and expressive than pure XPath so when I query a document I prefer directly doing that with XQuery. For the simple path //foo/@bar obviously it does not matter. As for implementing that, I can't judge that in terms of practicality other than that http://saxonica.co...
by Martin Honnen
Mon Sep 19, 2016 1:01 pm
Forum: Common Problems
Topic: Using an XQuery //foo/@bar gives "Your query returned an empty sequence."
Replies: 6
Views: 1162

Re: Using an XQuery //foo/@bar gives "Your query returned an empty sequence."

I wonder whether there is an option or should be an option to have oXygen indicate (like oXygen does in the case of using XPath instead of XQuery) that the query selected a sequence of attribute nodes and display each node in the sequence, instead of attempting a serialization. I very much would wel...
by Martin Honnen
Fri Sep 16, 2016 6:56 pm
Forum: Common Problems
Topic: Using an XQuery //foo/@bar gives "Your query returned an empty sequence."
Replies: 6
Views: 1162

Using an XQuery //foo/@bar gives "Your query returned an empty sequence."

Using XML Editor 18.0, build 2016081012, when I use a simple path expression //foo/@bar in the XQuery/XPath query builder against an XML document <?xml version="1.0" encoding="UTF-8"?> <root> <foo bar="1"/> <foo bar="2"/> </root> I get a notice "Your quer...
by Martin Honnen
Tue Aug 02, 2016 11:27 am
Forum: Common Problems
Topic: Problem with syntax coloring in XPath expression in XSLT stylesheet
Replies: 1
Views: 336

Problem with syntax coloring in XPath expression in XSLT stylesheet

I am using XML Editor 18.0, build 2016062718 on Windows 10 and today I have created an XSLT stylesheet in the editor where part of an XPath expression inside of a select attribute is colored in red, it looks odd to me. The XSLT code is <?xml version="1.0" encoding="UTF-8"?> <xsl:...
by Martin Honnen
Tue Jul 12, 2016 4:06 pm
Forum: Common Problems
Topic: Problems with XQuery code completion
Replies: 1
Views: 412

Problems with XQuery code completion

I am using oXygen 18 and want to create XQuery files, so open a new document selecting type XQuery and start typing, the query I want to write is <root> { (1 to 5) ! <item>{.}</item> } </root> so I start typing the opening <root> and it is completed to <root></root> which is fine so far, but I would...
by Martin Honnen
Sat Jul 09, 2016 1:00 pm
Forum: Common Problems
Topic: How to use XQuery 3.1 with oXygen 18 and Saxon EE 9.7?
Replies: 9
Views: 2198

How to use XQuery 3.1 with oXygen 18 and Saxon EE 9.7?

oXygen 18 allows me to select Saxon EE XQuery 9.7.0.4 (External) as an XQuery processor but when I use an XQuery with version "3.1" I get an error Engine name: Saxon-EE XQuery 9.7.0.4 (External) Severity: fatal Description: XQuery 3.1 was not enabled when invoking Saxon How can I use Saxon...
by Martin Honnen
Fri Jun 17, 2016 1:42 pm
Forum: XSLT and FOP
Topic: Is there a way to having Saxon 9.7 timing information recorded during and displayed after an XSLT transformation?
Replies: 1
Views: 636

Is there a way to having Saxon 9.7 timing information recorded during and displayed after an XSLT transformation?

I am using oXygen 18 with Saxon 9.7 EE, to perform streaming transformations of huge documents. I would like to see some timing information from Saxon after a transformation has been performed. From the command line of Saxon there is the "-t" option, I had hoped inside oXygen I would be ab...
by Martin Honnen
Sun Jun 12, 2016 11:32 pm
Forum: Common Problems
Topic: Error message "Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation" when using Saxon 9
Replies: 2
Views: 922

Error message "Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation" when using Saxon 9

When trying to run Saxon 9.6.0.7 HE with oXygen 18 against a stylesheet having <xsl:output cdata-section-elements="MASTER_COMMENTS"/> I get an error saying Description: Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation I can't reproduce that problem using ...
by Martin Honnen
Wed May 11, 2016 1:09 pm
Forum: Common Problems
Topic: Using Saxon 9.7 and XSLT 3.0 and output method="adpative"
Replies: 2
Views: 688

Using Saxon 9.7 and XSLT 3.0 and output method="adpative"

Using oXygen 18 and an XSLT 3.0 transformation with Saxon 9.7 EE added as an external XSLT engine I don't get the right output when using the new output method adaptive and outputting values like an array, for instance the minimal XSLT stylesheet <?xml version="1.0" encoding="UTF-8&qu...

Go to advanced search