Search found 2442 matches

by adrian
Wed Jun 20, 2018 3:13 pm
Forum: Announcements
Topic: Corrupt Elements - cannot diagnose
Replies: 1
Views: 376

Re: Corrupt Elements - cannot diagnose

Hi,

We could take a look, but you did not provide any content.

Regards,
Adrian
by adrian
Wed Jun 13, 2018 6:31 pm
Forum: Common Problems
Topic: Variables not available in debugger
Replies: 1
Views: 155

Re: Variables not available in debugger

Hi Scott, From what you're describing the issue seems to be triggered in a specific context. We need to reproduce this first, before we can establish what it is (an old issue, a Saxon issue, or something else). If you can reproduce it consistently, please provide a set of sample files, so we can inv...
by adrian
Thu Jun 07, 2018 2:38 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 203

Re: Get Text from Nodeset

Hi,

Convert it to string, if that's what you need:

Code: Select all

<xsl:variable name="uno" select="string($cvt/data[$cuenta]/text())"/>
Note that you'll have to use <xsl:value-of select="$uno"/> after this (instead of xsl:copy-of).

Regards,
Adrian
by adrian
Thu Jun 07, 2018 1:34 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 203

Re: Get Text from Nodeset

You're splitting by '/' and your split template uses elements named 'data', so you're getting in $arraySchema: <data>http:</data> <data></data> <data>www.info.es</data> <data>es</data> <data>fr</data> <data>data</data> <data>2017-09-12</data> <data>space.xsd</data> Not sure why yours had 12. I see o...
by adrian
Thu Jun 07, 2018 12:04 pm
Forum: XSLT and FOP
Topic: Get Text from Nodeset
Replies: 5
Views: 203

Re: Get Text from Nodeset

Hi,

The 'split' template is missing from your code. We need that to establish what you put in 'arraySchema' in the first place.

Regards,
Adrian
by adrian
Thu Jun 07, 2018 11:52 am
Forum: XSLT and FOP
Topic: XSLT 1,0 and Arrays
Replies: 3
Views: 171

Re: XSLT 1,0 and Arrays

Hi, Not sure what you're calling an array here. There are no arrays in XSLT/XPath, only sequences and node sets. Also, it's not clear what your "array" is suppose to contain after processing your string. Is it the full path? Like this: myArray[0]=http:// myArray[1]=www.enterprise.com/ myAr...
by adrian
Thu Jun 07, 2018 11:17 am
Forum: General XML Questions
Topic: Exclude node during searches
Replies: 8
Views: 2077

Re: Exclude node during searches

Hi, There is a mistake in my XPath (from 4 years ago) that covers elements and text (for text with markup). It should be: //*[not(descendant-or-self::codeblock|ancestor::codeblock)]|//text()[not(ancestor::codeblock)] This way it won't accept So, try this one (note that you don't need the //text if y...
by adrian
Wed Jun 06, 2018 6:10 pm
Forum: Feature Request
Topic: Multiple XPath result tabs for documents with the same name
Replies: 1
Views: 198

Re: Multiple XPath result tabs for documents with the same name

Hi, Unfortunately it's not possible if they have the same file name. The name of the XPath result tab is derived from the file name, so if you have two or more with the same name, the same results tab gets updated (previous one is cleared/replaced). If you apply a different XPath on each file, it ca...
by adrian
Wed Jun 06, 2018 11:01 am
Forum: XQuery
Topic: Formatting XQuery Update output?
Replies: 3
Views: 1214

Re: Formatting XQuery Update output?

Hi, I've logged an issue at Saxonica: https://saxonica.plan.io/issues/3809 and Michael Kay has already responded there. So, it seems XQuery Update is still at 1.0, for which there were no serialization properties (first appeared in XQuery 3.0). There is a W3C working group note from January 2017 reg...
by adrian
Mon Jun 04, 2018 12:52 pm
Forum: Common Problems
Topic: SVN Client: Migrating Working Copies Manager settings
Replies: 7
Views: 768

Re: SVN Client: Migrating Working Copies Manager settings

Hi, I can confirm that when exporting or importing the options, the SVN working copies are being filtered. I've logged an issue to address this. If you no longer have the old version of Oxygen, you can check its options file (if it still has the working copies). Depending on the platform the Oxygen ...
by adrian
Mon Jun 04, 2018 11:31 am
Forum: XSLT and FOP
Topic: Convert a string into Array
Replies: 3
Views: 249

Re: Convert a string into Array

Hi, I would not call xs:string* an array, it's actually a sequence of strings, xs:string (0 to many). If your xs:string has a single value, normally you shouldn't have to convert a single xs:string to a sequence yourself. AFAIK Saxon converts it automatically. But anyway, you can just pass as argume...
by adrian
Thu May 31, 2018 2:27 pm
Forum: Common Problems
Topic: SVN Client: Migrating Working Copies Manager settings
Replies: 7
Views: 768

Re: SVN Client: Migrating Working Copies Manager settings

Hi, Installing multiple versions side by side is not a problem. Each version keeps a separate options file, so they won't interfere. Normally you shouldn't have to export options from an older version and import them into the newer version, this is done automatically when you start a newer version (...
by adrian
Wed May 30, 2018 1:58 pm
Forum: Common Problems
Topic: Debugging MarkLogic Rest Extensions
Replies: 1
Views: 206

Re: Debugging MarkLogic Rest Extensions

Hi, Note that there are some limitations/requirements with regard to breakpoints when debugging with MarkLogic in Oxygen. First, please make sure you have read the section Using Breakpoints for Debugging Queries that Import Modules with MarkLogic from the user manual. Specifically the last paragraph...
by adrian
Wed May 30, 2018 11:00 am
Forum: Other Issues
Topic: ant build script pretty print
Replies: 3
Views: 263

Re: ant build script pretty print

Hi, Actually, if the XML file has one of the patterns build*.xml,integrator.xml it is treated as an ANT script file (specialized editor), otherwise it's a plain XML file. The patterns can be configured in Options > Preferences, File Types, Ant build patterns: . You can adjust the patterns to cover y...
by adrian
Tue May 29, 2018 6:14 pm
Forum: XML Schemas
Topic: XML schema: how to allow one particular element anywhere?
Replies: 1
Views: 326

Re: XML schema: how to allow one particular element anywhere?

Hi, I use that `em` tag elsewhere as well, inside other type of elements, so the problem isn't just to allow it inside `p`. **My question:** how do I allow it to be used inside any elements of my schema? There is no such a thing in XML Schema (not even 1.1). You can allow any element from a namespac...
by adrian
Tue May 29, 2018 3:00 pm
Forum: Other Issues
Topic: ant build script pretty print
Replies: 3
Views: 263

Re: ant build script pretty print

Hi,

Could you please provide a sample ANT file where this happens so we can identify the issue?
You can either send it directly to support@oxygenxml.com or use the Technical Support form from our web site.

Regards,
Adrian
by adrian
Fri May 25, 2018 4:46 pm
Forum: Common Problems
Topic: How to automatically open PDF output file using other formatter than Apache FOP?
Replies: 13
Views: 643

Re: How to automatically open PDF output file using other formatter than Apache FOP?

To clarify, in case someone else encounters this, When using AHF in combination with setting a custom outputFile.base , there is indeed an issue in that the Open in Browser/System Application > Output file is not opening the correct file. It tries to open the file as determined by the ditamap name, ...
by adrian
Fri May 25, 2018 3:45 pm
Forum: Feature Request
Topic: Feature request: button to toggle automatic validation
Replies: 1
Views: 286

Re: Feature request: button to toggle automatic validation

Hi, Automatic validation is considered to be something you don't toggle that often, that's why there is no toolbar button. Note that you can set it on a per project basis (in the Preferences option pane, switch the radio at the bottom to Project Options ). I've logged a feature request to accommodat...
by adrian
Wed May 23, 2018 3:11 pm
Forum: XSLT and FOP
Topic: Accesing C# Code from XSL file
Replies: 2
Views: 323

Re: Accesing C# Code from XSL file

Hi, I'm afraid we no longer provide technical support for Oxygen v11.2. It has reached its end of life a long time ago, 2012. I would advise you to configure a transformation scenario and first make sure that the scenario runs in Oxygen and resolves the extension functions. Only after that works you...
by adrian
Tue May 22, 2018 4:09 pm
Forum: Other Issues
Topic: Configure editor not to open in existing project context
Replies: 4
Views: 462

Re: Configure editor not to open in existing project context

Would it not be possible for XML Editor to open in a new empty and unsaved project at start? Actually there is a workaround (read "hack") that can be used. You can: 1. Create/save a new dummy project in Oxygen. 2. Quit Oxygen. 3. Delete the project .xpr file from the file system. 4. Start...
by adrian
Tue May 22, 2018 3:52 pm
Forum: Other Issues
Topic: Configure editor not to open in existing project context
Replies: 4
Views: 462

Re: Configure editor not to open in existing project context

Would it not be possible for XML Editor to open in a new empty and unsaved project at start? Kind of like many other editors. I've logged a feature request to accommodate this in a future version. Meanwhile, if you don't want any files to be opened from the previous session (except the project, for...
by adrian
Mon May 21, 2018 3:36 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 329

Re: Oasis Catalog tutorial and examples

Yes, you need to import the stylesheet. <xsl:import href="Segundo.xsl" /> or <xsl:import href="http://www.pepito.es/remoto/Otracarpeta/Segundo.xsl" /> You may have read some documentation regarding XML catalogs that describes how catalogs can be used with XML schema (XSD) and tha...
by adrian
Mon May 21, 2018 2:32 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 329

Re: Oasis Catalog tutorial and examples

Hi,

Please check the other discussion thread.

There is no attempt to resolve through a catalog for just a namespace declaration in a stylesheet. You need to import the other stylesheet, before you can make references to functions from within its namespace.

Regards,
Adrian
by adrian
Mon May 21, 2018 12:42 pm
Forum: XSLT and FOP
Topic: Oasis Catalog tutorial and examples
Replies: 6
Views: 329

Re: Oasis Catalog tutorial and examples

Hello, While it may not be extensive, please check the Oxygen User Guide - Working with XML Catalogs section. To debug an XML Catalog in Oxygen go to Options > Preferences, XML > XML Catalog and set verbosity to either " Unresolved entities " or " All messages ". Run a validation...
by adrian
Mon May 21, 2018 12:26 pm
Forum: XSLT and FOP
Topic: Problem in test project with Catalog
Replies: 1
Views: 174

Re: Problem in test project with Catalog

Hi, In my understanding the Catalog should convert the uri --> http://www.pepito.es/remoto/Otracarpeta/Segundo.xsl in file:///C:/Trabajo/Prueba_completa_XLS/Otracarpeta/Segundo.xsl" which is the correct location, but it doesn't convert anything and try using the http Uri Why? could you please h...
by adrian
Wed May 16, 2018 4:03 pm
Forum: Common Problems
Topic: Three transformations in one
Replies: 2
Views: 251

Re: Three transformations in one

Hi, If they are all XSLT transformations, it is relatively simple to chain them together in a single XML transformation with XSLT scenario. You can press Additional XSLT stylesheets in the scenario configuration dialog and add there each of the stylesheets (in order). However, for this particular ch...
by adrian
Wed May 16, 2018 3:23 pm
Forum: Common Problems
Topic: Understanding how each of these blenders work
Replies: 1
Views: 212

Re: Archive browser and combining marks

Hi, On second thought, I'm guessing you actually mean it grinds to a halt when you open it in the main editor. Since you mentioned the U+0308 COMBINING DIAERESIS character, which usually triggers the bidirectional text support in the editor, please make sure you still have checked in Options > Prefe...
by adrian
Wed May 16, 2018 11:46 am
Forum: Common Problems
Topic: Cannot open the specified file popup
Replies: 5
Views: 281

Re: Cannot open the specified file popup

What version of Oxygen are you running (Help > About) and on what version of macOS? I tested with v20 on macOS 10.13 and Tab worked fine for navigating focus between buttons. However, I see now that even this is optional on Mac. Check in System Preferences > Keyboard > Shortcuts, Keyboard that the s...
by adrian
Tue May 15, 2018 5:34 pm
Forum: Common Problems
Topic: Cannot open the specified file popup
Replies: 5
Views: 281

Re: Cannot open the specified file popup

Hi, Otherwise is there a way to switch from the Close button to the Create button from the keyboard? [Tab] hasn't worked for me. On what platform are you running Oxygen? I'm guessing you're on a Mac, if it appears to you that Tab doesn't work. Try Shift+Tab (or press Tab twice) and Space bar. Note t...
by adrian
Tue May 15, 2018 3:17 pm
Forum: Common Problems
Topic: Understanding how each of these blenders work
Replies: 1
Views: 212

Re: Archive browser and combining marks

Hi,

What version and build of Oxygen are you using (Help > About)?
If the Word document in question does not contain any confidential information, could you please submit it for analysis on our Technical support page?

Regards,
Adrian

Go to advanced search