Search found 228 matches

by Patrik
Wed Jun 20, 2018 12:45 pm
Forum: XML Schemas
Topic: Schematron:issue with @subject
Replies: 1
Views: 747

Schematron:issue with @subject

Hi, I have created the following simplified test case: <root> <element1> <child/> </element1> <element2/> </root> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> <sch:pattern> <sch:rule context="root"> <sch:assert test="false()&qu...
by Patrik
Tue Mar 20, 2018 5:03 pm
Forum: XSLT and FOP
Topic: messages from external Saxon
Replies: 2
Views: 573

Re: messages from external Saxon

Hi Alex, I just found out that oXygen 20.0 includes Saxon 9.8.0.8 which supports XSLT 3.0 in HE. So I will try to switch to the new version tomorrow. (And adding some more parameters like generate-id() to the output also works good as a workaround or now.) Thus, there's no need for an additional plu...
by Patrik
Tue Mar 20, 2018 10:03 am
Forum: XSLT and FOP
Topic: messages from external Saxon
Replies: 2
Views: 573

messages from external Saxon

Hi, with oXygen 18.1 I configured SaxonHE-9.8.0.10 as custom transformer. And within my xslt I use xsl:message to write some debugging information. It seems that oXygen filters the messages to remove duplicated lines. So for instance with this template <xsl:template match="/"> <xsl:for-eac...
by Patrik
Wed Mar 14, 2018 1:14 pm
Forum: XSLT and FOP
Topic: Custom Saxon engine with external libraries
Replies: 2
Views: 562

Re: Custom Saxon engine with external libraries

This one works fine. Thanks, Radu! :)

Patrik
by Patrik
Wed Mar 14, 2018 10:49 am
Forum: XSLT and FOP
Topic: Custom Saxon engine with external libraries
Replies: 2
Views: 562

Custom Saxon engine with external libraries

Hi, I want to use the latest Saxon-HE version (9.8.0.8) with oXygen using my own configuration file that registers extension functions. Thus, I also need to use an additional library that implements these functions. I already managed to configure SaxonHE-9.8.0.8 as a custom XSLT engine but I can't g...
by Patrik
Tue Feb 27, 2018 4:04 pm
Forum: Common Problems
Topic: Display annotation of element besides tooltip
Replies: 2
Views: 396

Re: Display annotation of element besides tooltip

Great, thanks Radu.
by Patrik
Tue Feb 27, 2018 10:02 am
Forum: Common Problems
Topic: Display annotation of element besides tooltip
Replies: 2
Views: 396

Display annotation of element besides tooltip

Hi, I have added several annotations to my (generated) XSD to help the author when editing the XML in text mode. Is there any other way to display the annotation beside the tooltip that appears when hovering with the mouse and wait a little? My issues with this behavior are: ⋅ You have to ...
by Patrik
Tue Feb 27, 2018 8:34 am
Forum: Common Problems
Topic: Validate against specified xsd with embedded schematorn rules
Replies: 2
Views: 401

Re: Validate against specified xsd with embedded schematorn rules

Thanks Adrian, this solution works fine with me.
Regards,
Patrik
by Patrik
Mon Feb 26, 2018 5:49 pm
Forum: Common Problems
Topic: Validate against specified xsd with embedded schematorn rules
Replies: 2
Views: 401

Validate against specified xsd with embedded schematorn rules

Hi, I have multiple XSD with embedded schematron rules. When validating an xXML file referencing one of the XSDs the embedded schematron rules are not checked. I knkow I can create a validation scenario but I have to set a specific XSD to enable the "Embedded Schematron rules" check box. B...
by Patrik
Fri Feb 09, 2018 1:39 pm
Forum: Feature Request
Topic: Show XSLT documentation on content completion
Replies: 1
Views: 617

Show XSLT documentation on content completion

Hi, I just learned about the existence of xslt documentation (by elements in the namespace "http://www.oxygenxml.com/ns/doc/xsl"). I'm not interested in generating a seperate documentation for my code but it would be great if the description of the variables, functions, templates and param...
by Patrik
Thu Feb 08, 2018 3:16 pm
Forum: Feature Request
Topic: XML Refactoring option with XQuery Update
Replies: 1
Views: 601

XML Refactoring option with XQuery Update

Hi,

just as a reminder (I already discussed this with Alex): It would be nice to have an XML Refactoring option that allows you to enter an XQuery Update statement or alternativly to refer to an XQuery Update script.

Regards,
Patrik
by Patrik
Wed Jan 24, 2018 12:12 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 1254

Re: XSLT validation scenario with Saxon initializer class

Just in case anybody else has this problem: I found a nice way to handle custom extension functions: Just declare them in your xslt like this: <xsl:function name="my:myCustomFunction" as="xs:string" use-when="not(function-available('my:myCustomFunction'))"> <xsl:param n...
by Patrik
Fri Jul 07, 2017 6:01 pm
Forum: Feature Request
Topic: XSLT template inspector
Replies: 1
Views: 614

XSLT template inspector

Hi, this is more a vague idea than a request, but it might be usefull... While the template pattern mechanism of XSLT is very comfortable to extend it has the same deficit as CSS has: On large projects it is difficult to maintain the overview which template will match (first) on a specific node. For...
by Patrik
Tue Jul 04, 2017 12:52 pm
Forum: Other Issues
Topic: Display placeholer for empty table cells
Replies: 2
Views: 534

Re: Display placeholer for empty table cells

Hi Radu, I agree, that for standard tables (e.g. in DITA) the placeholder is better to be hidden - especially when you have plenty of emptyy cells. But when using custom XML (or specialized DITA) the placeholder is very useful - especially when you have a schematron rule complaining about empty elem...
by Patrik
Tue Jul 04, 2017 8:24 am
Forum: Other Issues
Topic: Display placeholer for empty table cells
Replies: 2
Views: 534

Display placeholer for empty table cells

Hi, In all my empty table cells there is no placeholder displayed - even when I explicitly set -oxy-show-placeholder:always; by css. I know I could define a css rule to manually display some content for empty elements. But I'mstill wondering why this seems not to work by default as it does for other...
by Patrik
Wed Jun 28, 2017 5:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Measuring execution time of map validation?
Replies: 3
Views: 578

Re: Measuring execution time of map validation?

Hi Radu,

Thanks, I would support both ideas. (Although the realization will be too late for my current experiments).

Regards,
Patrik
by Patrik
Wed Jun 28, 2017 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Measuring execution time of map validation?
Replies: 3
Views: 578

Measuring execution time of map validation?

Hi, currently I'm experimenting a lot with different schematron checks an tweaks for the execution of the checks. So it would be very helpful to measure the execution time of the validation ('DITA Map completeness check' for Map Manager) for comparision. Is there any better way then manually waiting...
by Patrik
Wed Jun 28, 2017 2:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project specific validation settings for DITA Map Manager
Replies: 2
Views: 405

Project specific validation settings for DITA Map Manager

Hi, it would be helpful if the settings for "DITA Map Completeness Check" from the DITA Map Manager would be stored in the project file - just like it can be done for ordinary validation and transformation scenarios. I know I can export and load the settings but it's still not very comfort...
by Patrik
Wed Jun 28, 2017 9:46 am
Forum: Feature Request
Topic: Organizing project transformation scenarios
Replies: 2
Views: 662

Re: Organizing project transformation scenarios

Ok, Thanks.

Patrik
by Patrik
Wed Jun 28, 2017 8:16 am
Forum: Feature Request
Topic: Organizing project transformation scenarios
Replies: 2
Views: 662

Organizing project transformation scenarios

Hi, I have some projects with a growing number of transformation scenarios. So it's becoming uncomfortable to find the right one. Maybe some kind of folder mechanism would be nice so you can organize them. This might also enable you to easily select a set of transformation scenarios - e.g. for publi...
by Patrik
Tue Jun 20, 2017 11:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Equations: Alignment, automatic numbering, referencing, etc.
Replies: 8
Views: 2189

Re: Equations: Alignment, automatic numbering, referencing, etc.

FYI: I just updated my DITA-OT-Plugin https://github.com/dita-semia/org.dita-semia.topic-num to handle equations as well. So it will add consecutive numbers to their title and to the cross reference.

Patrik
by Patrik
Sat Jun 17, 2017 12:45 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 1963

Re: CSS Pseudo-Element "inner(n)"

You would have needed the :nth-child() only when your entry element were identical (e.g. entry, entry, ... instead of entry1, entry2, ...).

Patrik
by Patrik
Fri Jun 16, 2017 8:00 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 1963

Re: CSS Pseudo-Element "inner(n)"

You can do this nicely with existing css (I think supported since oXygen ~v17.1): my-table > my-row:first-child > *:before { // set styling for all header cells display: block; background-color: gray; // imitate table header font-weight: bold; border-bottom: solid 1px black; // imitate seperate row ...
by Patrik
Thu Jun 15, 2017 11:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSD-DITA validation...
Replies: 3
Views: 528

XSD-DITA validation...

Hi, I have an xsd-based DITA map and a schematron file with rules evaluating the class attribute. So, obviously, the default attributes need to be expanded before validation. To validate a single topic I have to enable the option "Use Saxon EE (schema aware) ...". Otherwise my rules don't ...
by Patrik
Fri Jun 09, 2017 10:36 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 768

Re: Custom extension to DITA Map validation?

Thanks for the explanation. But I did not mean the automatic validation (although I might add it there as well) but the "Validate and Check for Completeness" in the DITA Maps Manager.

Regards,
Patrik
by Patrik
Fri Jun 09, 2017 10:32 am
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 653

Re: create new file with assigned url?

Thanks. It's not that urgent anyway since the current behavior is good enough...

Regards,
Patrik
by Patrik
Thu Jun 08, 2017 5:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 768

Custom extension to DITA Map validation?

Hi, I have custom elements in my DITA framework referencing additional XML files. I'd like to have these validated as well since their content is being integrated into the publication (by a customized coderef). Is there any way for me to extend the validation process through Java? Thanks and regards...
by Patrik
Thu Jun 08, 2017 5:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 653

create new file with assigned url?

My requirement for a specific AuthorOperation is that i want to ensure that a specific file is opened in oXygen editor. (I will access it through the URIResolver.) Currently, when the file is not existing I create the content, write it to disk and then open it. Even better would be if I could create...
by Patrik
Thu Jun 08, 2017 4:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: place cursor in text mode by API
Replies: 2
Views: 617

Re: place cursor in text mode by API

Thanks alot, Radu. This works fine - and knowing about the WSXMLTextNodeRange solves some other problems as well... :D

Regards,
Patrik

Go to advanced search