Search found 280 matches
- by Patrik
- Mon Nov 02, 2015 10:59 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Non-modifying custom actions
- Replies: 4
- Views: 2351
Re: Non-modifying custom actions
Hi Radu,
I understand, thanks for the explanation.
Patrik
I understand, thanks for the explanation.
Patrik
- by Patrik
- Mon Nov 02, 2015 10:42 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Non-modifying custom actions
- Replies: 4
- Views: 2351
Re: Non-modifying custom actions
Hi Radu, I checked again and indeed: opening another file did neither mark the document as modified nor did it add an entry to the undo list. So that's fine. But calling AuthorDocumentController.refreshNodeReferences() marks the document as modified. And you can undo this operation as well. You migh...
- by Patrik
- Mon Nov 02, 2015 9:47 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Non-modifying custom actions
- Replies: 4
- Views: 2351
Non-modifying custom actions
Hi, I have non-modifying AuthorOperations. To avoid the document being marked as modified after performing the actions I'm setting the it as unmodified explicitly. Since the PseudoClassOperations should have the same problem I'm wondering if there's already a better solution!? Thanks and regards, Pa...
- by Patrik
- Sat Oct 31, 2015 11:10 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Apply all Schematron Quick Fixes
- Replies: 3
- Views: 2359
Re: Apply all Schematron Quick Fixes
Hi Stefan, a workaround might be to provide a special quick fix to deal with multiple errors. For instance in my framework I have a schematron rule checking for missing @id attributes. Now I provide two quick fixes for this: One to add the @id for the current element and another one to add all missi...
- by Patrik
- Fri Oct 30, 2015 5:06 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Sort definition list of current file without resolving implicit attributes
- Replies: 2
- Views: 1380
Re: Sort definition list of current file without resolving implicit attributes
Hi Stefan, to get rid of the default attributes just change the settings for your transformation scenario and disable "expand default attributes". But doing that you would have to change the code as well since it can no more read the class attributes. E.g. <xsl:template match="dl"...
- by Patrik
- Mon Oct 26, 2015 1:32 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Url of builtin image from custom css
- Replies: 3
- Views: 2337
Re: Url of builtin image from custom css
Hi Radu,
thanks for the quick answer. Using an URL starting with '/'did not work. He was looking fot the file 'C:/images/editContent.gif'. So I copied the required images into my framework. (Just wasn't sure if there are any copyright issues with your images.)
Patrik
thanks for the quick answer. Using an URL starting with '/'did not work. He was looking fot the file 'C:/images/editContent.gif'. So I copied the required images into my framework. (Just wasn't sure if there are any copyright issues with your images.)
Patrik
- by Patrik
- Mon Oct 26, 2015 1:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Url of builtin image from custom css
- Replies: 3
- Views: 2337
Url of builtin image from custom css
Hi, within my custom css files I'd liketo be able to refer to some builtin images like 'editContent.gif'. But I can't know where the custom framework will be located relative to the oxygen folder so I can't use a relative path. Is there any way to use something like url('${OXYGEN_INSTALL}/lib/oxygen...
- by Patrik
- Sat Oct 24, 2015 11:26 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Opening dialog boxes from xslt - It works!
- Replies: 4
- Views: 4183
Re: Opening dialog boxes from xslt - It works!
Hi,
I just uploaded my implementation together with the compiled java library and two samples to github...
https://github.com/dita-semia/XsltGui/releases
Patrik
I just uploaded my implementation together with the compiled java library and two samples to github...
https://github.com/dita-semia/XsltGui/releases
Patrik
- by Patrik
- Wed Oct 21, 2015 4:03 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: custom extension from oxygen lib folder not found
- Replies: 1
- Views: 1759
custom extension from oxygen lib folder not found
Hi, I implemented a custom reference resolver and want to configure it for my custom framework. Since the same jar file also contains a saxon extension I need to place it in the oxygen-lib-folder. But when placing the jar file there I can't select the reference resolver in the extensions tab - it is...
- by Patrik
- Wed Aug 19, 2015 8:26 am
- Forum: Feature Request
- Topic: Validation time
- Replies: 2
- Views: 2355
Re: Validation time
An alternative might be to convert your schematon file to the xslt script (oXygen provides a transformation scenario for that: "ISO schematron to XSLT (compilet)") and apply this script to the file you want to validate.
Patrik
Patrik
- by Patrik
- Tue Aug 04, 2015 7:16 am
- Forum: General XML Questions
- Topic: Problem with Regular Expression Search
- Replies: 6
- Views: 4260
Re: Problem with Regular Expression Search
You need to use capture groups with parentheses. Find: <pointValue value="1"/>(\w*\s*)</lcAnswerContent2> (note the brackets around the element content) Repalce: <pointValue value="1"/>$1</lcAnswerContent2><lcCorrectResponse2/> (note the "$1" to refer to the content in ...
- by Patrik
- Wed Jul 15, 2015 9:43 am
- Forum: Other Issues
- Topic: overriding display of certain elements in Author View
- Replies: 9
- Views: 4671
Re: overriding display of certain elements in Author View
Sounds great! :D
- by Patrik
- Tue Jul 14, 2015 7:58 pm
- Forum: Other Issues
- Topic: overriding display of certain elements in Author View
- Replies: 9
- Views: 4671
Re: overriding display of certain elements in Author View
Hi Alex,
will the editor be as comfortable as the text mode of oXygen? I.e. supporting content completion, automatically add closing tag, automatic indention...?
Patrik
will the editor be as comfortable as the text mode of oXygen? I.e. supporting content completion, automatically add closing tag, automatic indention...?
Patrik
- by Patrik
- Tue Jul 14, 2015 12:35 pm
- Forum: Other Issues
- Topic: overriding display of certain elements in Author View
- Replies: 9
- Views: 4671
Re: overriding display of certain elements in Author View
To use different styles for the content you can use either different pseudo elements: xml-codeblock *:before(3) { content: '<' oxy_name(); background-color: #EFEFEF; color: blue; } xml-codeblock *:before(2) { content: oxy_attributes(); background-color: #EFEFEF; color: red; } xml-codeblock *:before(...
- by Patrik
- Tue Jul 14, 2015 10:25 am
- Forum: Other Issues
- Topic: overriding display of certain elements in Author View
- Replies: 9
- Views: 4671
Re: overriding display of certain elements in Author View
Hi Toma, I once did something similar for DITA (didn't discard the approach - just postponed it): xml sample code <xml-codeblock> <Root> <Element>Text</Element> <Element>More Text</Element> <Element/> </Root> </xml-codeblock> css xml-codeblock { display: block; font-family: "Courier New", ...
- by Patrik
- Fri Jul 03, 2015 8:07 am
- Forum: XML Schemas
- Topic: Default attribute manifestation in Schematron Quick Fixes
- Replies: 7
- Views: 5577
Re: Default attribute manifestation in Schematron Quick Fixe
There's yet another approach that I used successfully and to keep default attributes from the output and that works with any schema (dtd, xsd or rng): Load the input document without expanding default attributes into a seperate variable. Create an xpath expression to the node you want to process. Ap...
- by Patrik
- Tue Jun 30, 2015 10:14 am
- Forum: XML Schemas
- Topic: Default attribute manifestation in Schematron Quick Fixes
- Replies: 7
- Views: 5577
Re: Default attribute manifestation in Schematron Quick Fixe
Hi, an alternative might be not to expand the default attributes but access them from the schema. I implement a function for that: <xsl:function name="my:GetAttributeDefaultValue" as="xs:string?"> <xsl:param name="Element" as="element()"/> <xsl:param name=&quo...
- by Patrik
- Fri Jun 26, 2015 12:16 pm
- Forum: XML Schemas
- Topic: Providing the same sqf:fix for multiple reports
- Replies: 2
- Views: 3073
Providing the same sqf:fix for multiple reports
Hi, I have following schematron rule with quick-fixes: <sch:rule context="Element[text()]"> <sch:report test="matches(text(), '^\s')" sqf:fix="remove-leading-spaces normalize-spaces"> Leading spaces! </sch:report> <sch:report test="matches(text(), '\s+')" sqf:...
- by Patrik
- Thu Jun 18, 2015 11:24 am
- Forum: Feature Request
- Topic: CSS Pseudo-Element "inner(n)"
- Replies: 8
- Views: 5169
Re: CSS Pseudo-Element "inner(n)"
Hi Radu, I already have proper workaround for both cases: For the first one I just added the header-elements to xsd as mandatory elements so they are added automatically as guess elements. For the second one I use :before with oxy_label() as content using fixed width. Just was thinking on a way to m...
- by Patrik
- Thu Jun 18, 2015 10:09 am
- Forum: Feature Request
- Topic: CSS Pseudo-Element "inner(n)"
- Replies: 8
- Views: 5169
CSS Pseudo-Element "inner(n)"
Hi, on the users meetup George said you will (probably) add the pseudo-element "outer" in the next release. Now I'd like to get apseudo-element "inner" as well. Use-case 1 Consider this xml <List> <Entry> <Name>1st Parameter</Name> <Value>1111</Value> </Entry> <Entry> <Name>2nd P...
- by Patrik
- Wed Jun 17, 2015 9:06 am
- Forum: Feature Request
- Topic: Improve xslt-refactoring: exclude template
- Replies: 3
- Views: 3252
Improve xslt-refactoring: exclude template
Hi, I have suggestions for improving the xslt refactoring feature "exclude template" (or however the original name is): Don't add global variables/parameter to the parameter list of the template - they are available within the template anyway. For variables/parameters with a type (= @as-at...
- by Patrik
- Mon Jun 15, 2015 9:43 am
- Forum: Feature Request
- Topic: AuthorActionGroup-Button
- Replies: 2
- Views: 2346
Re: AuthorActionGroup-Button
Great, Thanks.
Patrik
Patrik
- by Patrik
- Sat Jun 13, 2015 3:42 pm
- Forum: Feature Request
- Topic: AuthorActionGroup-Button
- Replies: 2
- Views: 2346
AuthorActionGroup-Button
Hi, when placing too many action-buttons (using css) in a document then the clarity might drop. So it might be an idea to group similar actions within one popup-button that will list the containing actions when you click on it - similar to a sub-menu. This could also help for the guided authoring of...
- by Patrik
- Fri Jun 12, 2015 4:29 pm
- Forum: Common Problems
- Topic: Error message: Cannot insert text inside read-only context
- Replies: 6
- Views: 3634
Re: Error message: Cannot insert text inside read-only conte
Sorry, I can't help you there, so you'll have to wait for the support...
Patrik
Patrik
- by Patrik
- Fri Jun 12, 2015 8:27 am
- Forum: Common Problems
- Topic: Error message: Cannot insert text inside read-only context
- Replies: 6
- Views: 3634
Re: Error message: Cannot insert text inside read-only conte
Hi Carole, keeping the author from editing read-only conent is a pure author-mode-feature that can be set within the css. So it's not surprising that you can still edit this in text-mode. To understand the problem you need to provide more information where exactly you're trying to edit text content....
- by Patrik
- Tue Jun 02, 2015 3:18 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Extended frameworks buggy after modifications to base
- Replies: 1
- Views: 1693
Extended frameworks buggy after modifications to base
Hi, I have a custom base-framework and three additional ones that are extensions of my base-framework. Now it apperars from time to time that an AuthorOperation in an extended framework no more works because some parameters are wrong - either because a parameter from the base-frameworks has NOT been...
- by Patrik
- Tue Jun 02, 2015 9:19 am
- Forum: XML Schemas
- Topic: SQF XInclude problem
- Replies: 2
- Views: 3181
SQF XInclude problem
Hi, I just made the following experiment with sqf in combination with xinclude: main.xml: <Root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="included.xml"/> <Element>2</Element> </Root> included.xml: <Element>3</Element> schematron with sqf: <sch:pattern> <sch:ru...
- by Patrik
- Thu May 28, 2015 8:38 pm
- Forum: XML Schemas
- Topic: QuickFix doesn't resolve substitution groups for missing ele
- Replies: 4
- Views: 4370
Re: QuickFix doesn't resolve substitution groups for missing
Hi Octavian, thanks for adding the issue. About the sqf: You don't have to specify a target for adding a new element. You can simply call an xslt function in the select attribute - I just tested it: <xsl:function name="my:newElement" as="element()"> <xsl:param name="Name&quo...
- by Patrik
- Thu May 28, 2015 10:53 am
- Forum: XML Schemas
- Topic: QuickFix doesn't resolve substitution groups for missing ele
- Replies: 4
- Views: 4370
QuickFix doesn't resolve substitution groups for missing ele
Hi, in my xml schema I'm using substitution groups, for instance "StandardSectionElement" which itself is an abstract element but p, ul, sl, ...are added to it as substitution elements. A section should contain at least a single StandardSectionElement after the title. Now for a section wit...
- by Patrik
- Tue May 26, 2015 12:13 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: createXSLTTransformer with custom configuration
- Replies: 5
- Views: 3258
Re: createXSLTTransformer with custom configuration
Hi Radu, that's what I already did. Furthermore I store the baseCondifuration in a static variable to get it only once: if (baseConfiguration == null) { final String dummyXsl = "<xsl:transform xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\"/>"; Transf...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service