Search found 2586 matches

by adrian
Mon Jan 20, 2020 3:34 pm
Forum: Other Issues
Topic: Insert line breaks before processing instruction
Replies: 1
Views: 47

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: 92

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: 63013

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: 2
Views: 73

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: 112

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: 290

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: 333

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: 141

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: 1274

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: 205

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 ...
by adrian
Mon Nov 18, 2019 6:34 pm
Forum: Common Problems
Topic: Unicode input methods
Replies: 4
Views: 205

Re: Unicode input methods

Hi, We can't really recommend a custom input method just for a few characters. If you have only a handful of special characters, you could use the workaround proposed here via code templates: Insert character shortcut - to define code templates (Options > Preferences, Editor > Templates > Code Templ...
by adrian
Thu Nov 14, 2019 6:04 pm
Forum: Other Issues
Topic: Oxygen Error Notification
Replies: 3
Views: 163

Re: Oxygen Error Notification

Hi,

That message appears because there is no closing double quote for the attribute value. So, it's the same problem for the closing double quote, you're using ” (Unicode Character 'RIGHT DOUBLE QUOTATION MARK' - U+201D) instead of plain ".

Regards,
Adrian
by adrian
Thu Nov 14, 2019 1:00 pm
Forum: XSLT and FOP
Topic: How to validate XSLT 3.0 stylesheet with xsl:use-package?
Replies: 22
Views: 4982

Re: How to validate XSLT 3.0 stylesheet with xsl:use-package?

Hi,

Packages have to be declared in a Saxon configuration file (read the previous posts) and the Saxon transformer from a transformation scenario has to be configured to use that Saxon configuration file.
What configuration file are you using?

Regards,
Adrian
by adrian
Mon Nov 11, 2019 1:08 pm
Forum: Feature Request
Topic: Add "Format and Indent" postprocess option to XSLT Scenario
Replies: 6
Views: 1711

Re: Add "Format and Indent" postprocess option to XSLT Scenario

Hello chrispitude,
It would be great if I could format the output of conversion to Oxygen's format, so that the style is consistent from the beginning.
In that case you can use the menu > Tools > Format and Indent Files tool on the converted DITA content.

Regards,
Adrian
by adrian
Fri Nov 08, 2019 7:31 pm
Forum: Feature Request
Topic: SharePoint Browser - Confirm Discard Checkout
Replies: 1
Views: 172

Re: SharePoint Browser - Confirm Discard Checkout

Hello,

Thank you for the feedback.
I have logged an improvement request on our issue tracking tool. For future reference it is issue EXM-44548.

Regards,
Adrian
by adrian
Fri Nov 08, 2019 7:22 pm
Forum: Other Issues
Topic: Oxygen asks me
Replies: 5
Views: 310

Re: Oxygen asks me

Hi, Oxygen asks you about reloading he project .xpr file, because you and another person are concurrently using the same .xpr file from a SharePoint repository (via network share or drive). For each change that the other user makes to the project you get a popup about reloading the .xpr file. Oxygen...
by adrian
Fri Nov 08, 2019 7:17 pm
Forum: Common Problems
Topic: SharePoint recreating .xpr & lost transform scenarios?
Replies: 5
Views: 299

Re: SharePoint recreating .xpr & lost transform scenarios?

We assumed the point of the .xpr is so we could both access the same transform scenarios and project settings. Yes, that is correct, but concurrently using the exact same .xpr file by multiple users is not possible. In our case, only one of us is customizing the transform scenarios, but the other p...
by adrian
Fri Nov 08, 2019 2:03 pm
Forum: Other Issues
Topic: Oxygen Error Notification
Replies: 3
Views: 163

Re: Oxygen Error Notification

Hello, The XML specification requires plain ASCII double quotes for attribute values. You're using the wrong type of quotes: <placeName ref=“#London”>$1</placeName> This uses “ (Unicode Character 'LEFT DOUBLE QUOTATION MARK' - U+201C) on the left side and ” (Unicode Character 'RIGHT DOUBLE QUOTATION...
by adrian
Wed Nov 06, 2019 6:58 pm
Forum: Other Issues
Topic: Oxygen asks me
Replies: 5
Views: 310

Re: Oxygen asks me

Hi,

Is this related to the discussion from this topic?
topic20865.html

Regards,
Adrian
by adrian
Wed Nov 06, 2019 6:52 pm
Forum: General XML Questions
Topic: Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?
Replies: 1
Views: 257

Re: Is there a way to use XPATH to search my xml file for TimeStamps in a certain range?

Hello,

Are these Unix-like timestamps, like 1573054992, or what format do they use?
For Unix timestamps it's easy:

Code: Select all

*[xs:long(@TimeStamp) > 1573054992 and xs:long(@TimeStamp) < 1573054990]
Regards,
Adrian
by adrian
Wed Nov 06, 2019 10:31 am
Forum: General XML Questions
Topic: XML XSD Elements Mismatch
Replies: 1
Views: 131

Re: XML XSD Elements Mismatch

Hi,

Since this is Oracle specific, you would probably find better help on an Oracle forum or discussion list.

Regards,
Adrian
by adrian
Wed Nov 06, 2019 10:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: New project lost all transformation scenarios
Replies: 4
Views: 217

Re: New project lost all transformation scenarios

Hi,

The default project that Oxygen uses when is freshly installed is the samples project. So your transformation scenarios are most likely in the samples project.

Regards,
Adrian
by adrian
Tue Nov 05, 2019 6:53 pm
Forum: Feature Request
Topic: Save search strings
Replies: 1
Views: 138

Re: Save search strings

Hello,

We already have a feature request for this on our issue tracking tool. I've added your vote and mentioned your use case.
For future reference it is issue EXM-21462.

Regards,
Adrian
by adrian
Mon Nov 04, 2019 8:07 pm
Forum: Common Problems
Topic: SharePoint recreating .xpr & lost transform scenarios?
Replies: 5
Views: 299

Re: SharePoint recreating .xpr & lost transform scenarios?

Hi, Sharing the the .xpr file via SharePoint between several users that open it concurrently isn't really a supported Oxygen use case. Oxygen doesn't know that you're doing that. The problem is that Oxygen frequently writes (automatically) to the .xpr file whenever the user makes various (even minor...
by adrian
Mon Nov 04, 2019 11:52 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: New project lost all transformation scenarios
Replies: 4
Views: 217

Re: New project lost all transformation scenarios

Hello, By default transformation scenarios are stored in the Project Options thus they are on a per project basis. If you switch to another project or create a new project, the scenarios you know are no longer available, they have remained with the previously used project. Oxygen always has a projec...
by adrian
Mon Nov 04, 2019 11:46 am
Forum: Other Issues
Topic: Oxygen asks me
Replies: 5
Views: 310

Re: Oxygen asks me

Hello,

What version and build of Oxygen are you using (Help > About)?
Is the project file stored on a network share (e.g. \\server\share) or network drive (e.g. Z:)?

Regards,
Adrian
by adrian
Wed Oct 30, 2019 7:44 pm
Forum: XSLT and FOP
Topic: Breaking for-each loop on a conditional base
Replies: 2
Views: 181

Re: Breaking for-each loop on a conditional base

Hi,

There is no such a thing as break in an XSLT for-each loop. xsl:if/@test is pretty much all you can do. The other way would be to include this condition within the for-each/@select.

See Stack Overflow | How-to break a for-each loop in XSLT? for more ideas.

Regards,
Adrian
by adrian
Wed Oct 30, 2019 7:28 pm
Forum: General XML Questions
Topic: is possible [REWRITE, ADD, EXTEND] a element of DTD?
Replies: 1
Views: 204

Re: is possible [REWRITE, ADD, EXTEND] a element of DTD?

Hi, What's the use case? What are you trying to accomplish with those custom elements/tags? The problem is this won't validate as XHTML 1.1, simply because XHTML 1.1 doesn't allow custom elements. You can probably make it validate by itself as XML since the XHTML 1.1 DTDs are extendable. Have a look...
by adrian
Wed Oct 30, 2019 12:31 pm
Forum: Other Issues
Topic: Validating HTML5 non-XML syntax
Replies: 4
Views: 1353

Re: Validating HTML5 non-XML syntax

Hi, HTML 5 validation based on the W3C HTML Validator has been implemented since v21.1. What's New in Oxygen XML Editor 21.1 Oxygen includes a built-in validator used for validating HTML documents . It is based upon the W3C HTML Validator and the HTML documents are validated against the W3C HTML5 sp...
by adrian
Fri Oct 25, 2019 11:30 am
Forum: XSLT and FOP
Topic: Not able to group similar type elements with same value
Replies: 4
Views: 262

Re: Not able to group similar type elements with same value

Hi,

I can't debug with variables for which there is no definition.

Code: Select all

<xsl:variable name="v_ownerships" select="$relation_doc_uri/relations/ownerships)" />
I don't know what relation_doc_uri contains, but your XML examples don't have any elements named relations or ownerships.

Regards,
Adrian