Search found 2666 matches

by adrian
Thu Mar 12, 2020 10:47 am
Forum: Common Problems
Topic: Format and indent breaks lines in attributes
Replies: 4
Views: 343

Re: Format and indent breaks lines in attributes

Hello,

You should disable "Break line before an attribute name" (default disabled).

Regards,
Adrian
by adrian
Fri Feb 28, 2020 4:43 pm
Forum: Common Problems
Topic: Missing tabs in editor
Replies: 9
Views: 830

Re: Missing tabs in editor

Hi, That's actually Java that you're instructing to use 2x (200%) scaling with "-Dsun.java2d.uiScale=2". Oxygen uses a different scaling property . In turn Oxygen also adjusts its scaling to this Java scaling, so that's actually the correct way to do this. Java automatic scaling detection only works...
by adrian
Tue Feb 25, 2020 4:27 pm
Forum: Common Problems
Topic: Missing tabs in editor
Replies: 9
Views: 830

Re: Missing tabs in editor

Hello, Thank you for letting us know about this. Do you have a high screen resolution with text scaling enabled? We can reproduce the issue even on Windows, with OpenJDK 13, but only with scaling enabled. So it seems to be scaling/HiDPI related. I've logged an issue to investigate and fix the proble...
by adrian
Tue Feb 25, 2020 4:06 pm
Forum: Common Problems
Topic: Linux install no longer adds start menu items
Replies: 4
Views: 372

Re: Linux install no longer adds start menu items

Hello, We are aware of this issue in the initial build of v22.0, build 2020021016. The issue is caused by the installer and is triggered by spaces in the installation folder path. Installing to a folder without spaces (e.g. /home/user/OxygenXMLEditor22.0) avoids the issue. This will be resolved in t...
by adrian
Fri Feb 21, 2020 1:14 pm
Forum: Common Problems
Topic: uninstall old build version
Replies: 1
Views: 268

Re: uninstall old build version

Hello, Find the one you want to delete (Windows+typing the name "oxy"), don't run it, right click on it and select Open File location. If it opens a folder with only shortcuts, right click on the Oxygen shortcut and pick Properties. From the Shortcut tab press the button "Open File Location". You sh...
by adrian
Tue Feb 18, 2020 10:03 am
Forum: Other Issues
Topic: Mac OS X Catalina and oXygen 22 won't launch
Replies: 2
Views: 390

Re: Mac OS X Catalina and oXygen 22 won't launch

Hello, When you installed v22, did you first remove the previous version, or did you install on top of an existing version? If the folder already existed, you should Replace it when updating to the new version, you should never Merge it. Merge makes a mess of the application up to the point that it ...
by adrian
Mon Feb 17, 2020 9:50 am
Forum: Other Issues
Topic: Saxon version in Oxygen Author
Replies: 2
Views: 367

Re: Saxon version in Oxygen Author

Hello, There are no differences in features or functionality between the Author launcher from the the Editor bundle and the Author launcher from the Author bundle (of the same version). Saxon-PE and EE are available in both products. However the core libraries have slightly different names (oxygenAu...
by adrian
Fri Feb 14, 2020 3:27 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

There is an embedded YouTube player on that page. It works fine for me with Firefox 73.0 on Windows 10.
Are you perhaps behind a corporate proxy/firewall that may be filtering some content (e.g. YouTube)?

Regards,
Adrian
by adrian
Wed Feb 12, 2020 4:20 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hi,

I checked and the page works just fine in Firefox and Chrome for me.
What web browser are you using and on what OS?

Alternatively go directly to YouTube, to our channel:
https://www.youtube.com/user/oxygenxml/videos

Regards,
Adrian
by adrian
Mon Feb 10, 2020 11:39 am
Forum: Common Problems
Topic: Indentation of elements but not of comments
Replies: 1
Views: 284

Re: Indentation of elements but not of comments

Hello, We've discussed this on the Oxygen users list, but I'm also mentioning it here in case anyone else wants something similar. There is no option in Oxygen to tell the formatter to treat an XML comment differently. Oxygen formats an element differently depending on its type of content (elements ...
by adrian
Wed Feb 05, 2020 6:42 pm
Forum: Feature Request
Topic: Multi-Cursor
Replies: 1
Views: 237

Re: Multi-Cursor

Hello,

I've logged a feature request. For future reference it is issue EXM-44987.

Regards,
Adrian
by adrian
Wed Feb 05, 2020 4:31 pm
Forum: Feature Request
Topic: Support for the Arrow Operator in XPath 3.1
Replies: 2
Views: 413

Re: Support for the Arrow Operator in XPath 3.1

Hi,

I've logged your feature request. For future reference it is issue EXM-44985.

Regards,
Adrian
by adrian
Tue Jan 28, 2020 7:17 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Would it be possible to provide me a document/link for how to create XSD so that I can use it as reference. You want to create an XSD from scratch or generate an XSD from existing XML files? There are some video presentations on our web site: https://www.oxygenxml.com/videos.html (use the Schemas f...
by adrian
Fri Jan 24, 2020 3:09 pm
Forum: Common Problems
Topic: Wrapping that preserves indentation
Replies: 3
Views: 383

Re: Wrapping that preserves indentation

But unfortunately, Oxygen's Format and Indent feature doesn't help me because even when I don't select the surrounding element tokens, the formatter includes them in the formatted result, which messes up the way my XSLT code looks: The formatter works at element level, you can't format just the tex...
by adrian
Thu Jan 23, 2020 6:55 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hi,

It works for me on the example you have provided above. Testing on v21.1.
Try:

Code: Select all

 count(Identifier/Identifier_Type[.='ABC']) > 1
Regards,
Adrian
by adrian
Thu Jan 23, 2020 5:35 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hi,

No. That has a boolean result, so you can't count it. It's:

Code: Select all

count(Identifier[Identifier_Type='ABC']) > 1
Regards,
Adrian
by adrian
Thu Jan 23, 2020 3:24 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hi, There were some issues in v19 with variable evaluation, but the symptoms were the variable was listed, but had no value, instead there was a message "The variable value is undefined". This was later fixed in v21. I don't have v19.0 readily available to test, it is no longer being supported. Coul...
by adrian
Wed Jan 22, 2020 6:28 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hi, Variable evaluation depends a lot on the debugger and XSLT engine. What version of Oxygen are you using? Which XSLT engine (including version) are you using to debug (Saxon-HE/PE/EE)? BTW, try to disable optimizations or set optimization level to 0 (older versions) in the "Advanced options" (cog...
by adrian
Tue Jan 21, 2020 5:30 pm
Forum: Other Issues
Topic: Cannot Select Installed Font in Preferences
Replies: 4
Views: 471

Re: Cannot Select Installed Font in Preferences

Hi, Oxygen is a Java application. Most likely Java does not detect the font you have installed. How did you install the font? Did you use "Install for me" or "Install for all users"? AFAIK, Java only sees the font if you have used "Install for all users". BTW, have you tried restarting Windows, afte...
by adrian
Tue Jan 21, 2020 5:23 pm
Forum: General XML Questions
Topic: How to write BreakPoint Condtions
Replies: 16
Views: 1474

Re: How to write BreakPoint Condtions

Hello, A breakpoint on the XML source only works if the context (current node) of a template contains or is the node involved in the breakpoint. In your example xsl:template/@match="PayGroup/Employee" contains the node you're looking for, so in that context the breakpoint condition for what you want...
by adrian
Mon Jan 20, 2020 3:34 pm
Forum: Other Issues
Topic: Insert line breaks before processing instruction
Replies: 2
Views: 346

Re: Insert line breaks before processing instruction

Hello,

Unfortunately that's not possible as of v21.1. The "Elements spacing" options are, as the title hints, for elements only. Only a simplified form of XPath can be used in these rules and it must indicate elements.
Editor > Format > XML Preferences, Element Spacing Section

Regards,
Adrian
by adrian
Wed Jan 15, 2020 6:06 pm
Forum: Other Issues
Topic: Can attribute values be assigned "Default Space"
Replies: 1
Views: 296

Re: Can attribute values be assigned "Default Space"

Hello, Break Long Attributes does indeed break the rule of "Attribute values are always in the preserve space category" and inserts line breaks and indents. I'm afraid that there is no option to do the reverse (normalize white-spaces in the attribute values). I've logged a feature request. For futur...
by adrian
Thu Jan 09, 2020 1:48 pm
Forum: General XML Questions
Topic: Merge Multiple XML Files into One XML File
Replies: 21
Views: 69880

Re: Merge Multiple XML Files into One XML File

Hi, You need to add another template rule that matches your record element name and only copy the contents if your condition is satisfied. <xsl:template match="*:recordElementName" mode="copy"> <xsl:if test="publisherName='Acme Publishing Company'"> <xsl:copy> <xsl:apply-templates mode="copy" select...
by adrian
Thu Jan 09, 2020 10:56 am
Forum: Common Problems
Topic: Wrapping that preserves indentation
Replies: 3
Views: 383

Re: Wrapping that preserves indentation

Hello, Is there any way to make automatic wrapping indent to the same level as the first line? The Line wrap option from Options > Preferences, Editor / Edit Modes / Text is a "soft" line wrap, which means it wraps the text on multiple lines only visually. It does not touch the content and it does n...
by adrian
Mon Jan 06, 2020 2:51 pm
Forum: General XML Questions
Topic: for-each query won´t work
Replies: 2
Views: 406

Re: for-each query won´t work

Hi,

Try:

Code: Select all

<xsl:for-each select="//AuslandsHochschulen[land='Vereinigtes Königreich']">
You'll also want to remove the "//AuslandsHochschulen/" part of the XPath from the inner xsl:value-of/@select.
e.g.

Code: Select all

<xsl:value-of select="AuslandsHochschulID/text()"/>
Regards,
Adrian
by adrian
Fri Dec 13, 2019 1:24 pm
Forum: General XML Questions
Topic: XPATH query with XML and XSD
Replies: 2
Views: 641

Re: XPATH query with XML and XSD

Hi, The XPath would look like this: count(//student[StudiengangID=//Studiengänge[art='Dual']/StudiengangID]) This counts all students that are in all study courses that are Dual. If you want a specific one, or if you want a per study count, you need more complex code. So which one is it? Regards, Ad...
by adrian
Thu Dec 05, 2019 7:24 pm
Forum: Feature Request
Topic: Provide Saxon 9.4 as a plugin
Replies: 1
Views: 519

Re: Provide Saxon 9.4 as a plugin

Hi, I'm afraid that adding an older version of Saxon as a plugin, it's not as simple as it may seem. There are numerous API changes in recent versions, so it's not as simple as replacing the .jar. If you want to test if Saxon 9.4 is indeed what you need, you could download and install a version of O...
by adrian
Fri Nov 22, 2019 1:09 pm
Forum: Common Problems
Topic: Regex not working properly in Find and Replace
Replies: 2
Views: 381

Re: Regex not working properly in Find and Replace

Hello, That happens because you're using a greedy pattern, (.*). This matches as much as possible and you've probably also checked the option "Dot matches all" which makes it greedy across multiple lines. So, use the lazy pattern (.*?) instead of (.*), or clear the box for "Dot matches all". I would...
by adrian
Wed Nov 20, 2019 5:46 pm
Forum: Common Problems
Topic: File permissions changed
Replies: 5
Views: 1711

Re: File permissions changed

Hi,

I cannot provide a projected date for fixing this. I'm afraid this issue is flagged with a low priority and will probably be fixed in the long term.
I have increased the reports count for this issue and mentioned your use case.

Regards,
Adrian
by adrian
Tue Nov 19, 2019 2:14 pm
Forum: Common Problems
Topic: Unicode input methods
Replies: 4
Views: 438

Re: Unicode input methods

Hi, I cannot find references on the web of any Java input method that does this. On what platform/OS are you editing with Oxygen (Windows, macOS, Linux)? One solution would be to find/create an OS input method (or custom keyboard layout) that supports mathematical symbols. How to Create APL or Math ...