Search found 814 matches
- Wed Jan 30, 2013 4:33 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Combobox form component in CSS
- Replies: 4
- Views: 2734
Re: Combobox form component in CSS
Hi, It may help to use the tooltips property to provide those labels as tooltips: security { content: "Security level : " oxy_editor( type, combo, edit, "@securityClassification", editable, true, values, "01, 02, 03, 04", tooltips, "NOT PROTECTED, RESTRICTED, CONFIDENTIAL DEFENSE, SECRET DEFENSE/RES...
- Wed Jan 30, 2013 3:38 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Combobox form component in CSS
- Replies: 4
- Views: 2734
Re: Combobox form component in CSS
Hi, You get this behavior because you have an editable combo box. The problem is that once the user can manually edit the value it must see the real value, not just a label. Is the user supposed to provide custom values? Because if it isn't, just mark the combo as read-only (using the editable prope...
- Mon Jan 28, 2013 11:49 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: auto-generate DITA topic id from its file name
- Replies: 7
- Views: 4738
Re: auto-generate DITA topic id from its file name
Hi, Unfortunately you can't use file based editor variables inside a file template. But I have added a feature request to support them too. Meanwhile, as an workaround, you could create an author action that changes the ID attribute value. To create an author action you'll have to go to page Prefere...
- Wed Dec 12, 2012 10:31 am
- Forum: General XML Questions
- Topic: need method to extract element with particular name-value pair
- Replies: 4
- Views: 2791
Re: need method to extract element with particular name-value pair
Hi, Variables can't be updated. This means you can't write something like let $x := $x+1. In XQuery you can simulate mutable variables using recursive functions. This means a function can pass in a modified value to the next function invocation in place of the value they already have. It more or les...
- Tue Nov 20, 2012 12:29 pm
- Forum: Other Issues
- Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
- Replies: 9
- Views: 2982
Re: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Hello Simon, The first parameter of the URIContent constructor must be an absolute system ID that will be used to resolve the relative reference. You said that the image is relative to the location of the XML file so you can get the absolute system id of the XML like in the code below: if (authorNod...
- Fri Nov 16, 2012 11:28 am
- Forum: Other Issues
- Topic: how can I get the position (line, column) from an XPath?
- Replies: 14
- Views: 5527
Re: how can I get the position (line, column) from an XPath?
Hi Sebastien, There should be no need for you to set the line and column, the node should be highlighted automatically. But as you already noticed the node isn't highlighted. We will add an issue and see what the problem is. Regarding the possible workarounds, there is no API to obtain a line and co...
- Fri Nov 16, 2012 9:48 am
- Forum: Other Issues
- Topic: How to debug Plugin from eclipse
- Replies: 1
- Views: 881
Re: How to debug Plugin from eclipse
Hi, First of all you must tell Oxygen to look for plugins in the location where you develop the plugin. You can do that by setting the system property "com.oxygenxml.editor.plugins.dir". Then add to the plugin's classpath the directory where Eclipse has compiled your classes. You can do that by edit...
- Thu Nov 15, 2012 6:30 pm
- Forum: Other Issues
- Topic: variables in XSLTOperation
- Replies: 2
- Views: 1171
Re: variables in XSLTOperation
Hi Tolliver, You may also find it interesting to save your script file in the directory of your framework and use as *script* the following driver: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:import href="xslt_operation....
- Thu Nov 15, 2012 5:34 pm
- Forum: Other Issues
- Topic: variables in XSLTOperation
- Replies: 2
- Views: 1171
Re: variables in XSLTOperation
Hi Tolliver, I suspect that the XSLTOperation's sourceLocation parameter is empty. As a result, the input for the stylesheet will be the element at caret position and you will not be able to access any other nodes from the original document. So the first step is to set parameter sourceLocation to be...
- Wed Nov 14, 2012 6:30 pm
- Forum: Other Issues
- Topic: how can I get the position (line, column) from an XPath?
- Replies: 14
- Views: 5527
Re: how can I get the position (line, column) from an XPath?
Hi Sebastien,
If you create an AuthorDocumentPositionedInfo over an AuthorNode then the given node will be automatically underlined in the author page. Why do you need to map that node into a line and column?
Best regards,
Alex
If you create an AuthorDocumentPositionedInfo over an AuthorNode then the given node will be automatically underlined in the author page. Why do you need to map that node into a line and column?
Best regards,
Alex
- Wed Nov 14, 2012 5:28 pm
- Forum: Other Issues
- Topic: how can I get the position (line, column) from an XPath?
- Replies: 14
- Views: 5527
Re: how can I get the position (line, column) from an XPath?
Hi Sebastien, I've just corrected the missing Java Doc entries. Until a new build is available here are the signatures for the two available constructors: /** * Constructor. * * @param severity Severity. One of the severity constants form class DocumentPositionedInfo: * SEVERITY_ERROR, SEVERITY_FATA...
- Fri Nov 09, 2012 1:47 pm
- Forum: Other Issues
- Topic: AuthorSchemaManager for validating AuthorDocumentFragments
- Replies: 3
- Views: 1458
Re: AuthorSchemaManager for validating AuthorDocumentFragments
Hi Simon,
This is a good opportunity to review a little our documentation. I've already added an issue to correct the JavaDoc as well as providing more information about the two methods. Method createNewDocumentTextFragment's documentation is also extremely vague.
Best regards,
Alex
This is a good opportunity to review a little our documentation. I've already added an issue to correct the JavaDoc as well as providing more information about the two methods. Method createNewDocumentTextFragment's documentation is also extremely vague.
Best regards,
Alex
- Fri Nov 09, 2012 9:49 am
- Forum: Other Issues
- Topic: AuthorSchemaManager for validating AuthorDocumentFragments
- Replies: 3
- Views: 1458
Re: AuthorSchemaManager for validating AuthorDocumentFragments
Hi Simon, The ro.sync.ecss.extensions.api.AuthorDocumentController.createNewDocumentTextFragment(String) method creates a text fragment, even if the string you provide represents an XMl content. What you can do is to use the following method that creates an AuthorDocumentFragment representing an XML...
- Wed Oct 31, 2012 3:47 pm
- Forum: Other Issues
- Topic: Form controls: Simple way to "Edit" a document
- Replies: 3
- Views: 1761
Re: Form controls: Simple way to "Edit" a document
Hi, I agree that it's a bit of an overhead but this is not something that an author should do. A developer should implement this operation, update the framework to declare the action and the CSS to add the button. Then it should pack the framework and deliver it to the authors (perhaps through the a...
- Tue Oct 30, 2012 4:00 pm
- Forum: Other Issues
- Topic: Form controls: Simple way to "Edit" a document
- Replies: 3
- Views: 1761
Re: Form controls: Simple way to "Edit" a document
Hi, In order to add a button just change the CSS into something like: image[outputclass~="osa/slide"]:before { content: "Slide: " oxy_editor( type, urlChooser, edit, "@href", columns, 40) "Edit: " oxy_editor( type, button, actionID, "my.edit.action"); background-color: yellow; display: block; } A bu...
- Tue Aug 21, 2012 1:02 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Problems with frameworks in Oxygen 14
- Replies: 17
- Views: 7435
Re: Problems with frameworks in Oxygen 14
Hi Stefan, We want to avoid checking for updates to often so we'll check once in four application launches. So the user will get notified, but not always as soon as the update is uploaded. The user can always use "Help->Check for add-ons updates..." to manually check for any updates. Do you believe ...
- Tue Aug 21, 2012 9:06 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Problems with frameworks in Oxygen 14
- Replies: 17
- Views: 7435
Re: Problems with frameworks in Oxygen 14
Hi Stefan, 2) You are right, all these $framework variables, when used outside of a document type will expand to the defaults. But I understand the need to refer from outside of a document type a certain framework location. I will add an improvement request to provide a new variable like ${framework...
- Mon Aug 20, 2012 2:53 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Problems with frameworks in Oxygen 14
- Replies: 17
- Views: 7435
Re: Problems with frameworks in Oxygen 14
Hello Stefan, 1) Please check if the add-on archive contains the root directory of the framework. The behavior you describe can happen if instead of archiving the framework's root directory you've archived the containing files. If the archive has the correct structure you don't have to set anything ...
- Fri Jun 22, 2012 9:48 am
- Forum: Common Problems
- Topic: Errors after installing the latest TEI framework
- Replies: 1
- Views: 1196
Re: Errors after installing the latest TEI framework
Hi,
The latest TEI framework build available for download is compatible only with Oxygen v14 that will be released very soon. Unfortunately we forgot to specify this. I've marked the build accordingly and I've also uploaded a new build that is compatible with Oxygen v13.
Best regards,
Alex
The latest TEI framework build available for download is compatible only with Oxygen v14 that will be released very soon. Unfortunately we forgot to specify this. I've marked the build accordingly and I've also uploaded a new build that is compatible with Oxygen v13.
Best regards,
Alex
- Mon Dec 05, 2011 9:59 am
- Forum: Common Problems
- Topic: shorten long weblinks
- Replies: 4
- Views: 2606
Re: shorten long weblinks
Hello,
As an alternative, you could enter a shorter link description inside the XREF element. Instead of an empty element, just use :.
Regards,
Alex
As an alternative, you could enter a shorter link description inside the XREF element. Instead of an empty element, just use :
Code: Select all
<xref href="http://www.oxygenxml.com/forum/topic6490.html" format="html" scope="external">topic6490.html</xref>
Regards,
Alex
- Fri Dec 02, 2011 6:06 pm
- Forum: Common Problems
- Topic: shorten long weblinks
- Replies: 4
- Views: 2606
Re: shorten long weblinks
Hello, I was under the impression that your question referred to displaying the XML in oXygen Author page so I gave an answer for that. My mistake. You are actually referring to the html output of an WebHelp transformation? If that is the case, you should probably intervene inside the XSL stylesheet...
- Thu Dec 01, 2011 6:13 pm
- Forum: Common Problems
- Topic: shorten long weblinks
- Replies: 4
- Views: 2606
Re: shorten long weblinks
Hello, You can edit the CSS so that a shorter path is displayed for links. For DITA the CSS where you should intervene is {oxygenInstallDir}/frameworks/dita/css_classed/topic.css . For an XREF element the rule that should be modified is: *[class~="topic/link"][href]:before, *[class~="topic/xref"][hr...
- Thu Oct 13, 2011 6:13 pm
- Forum: XQuery
- Topic: How do I achieve Library module re-use?
- Replies: 4
- Views: 5299
Re: How do I achieve Library module re-use?
Hello, Thanks to the files you sent, we managed to identify this as a Saxon problem that relates to the catalog use. Basically Saxon checks if a module has already been loaded by comparing the module's unresolved URI with the catalog resolved URIs of the already loaded modules. Because of that it wi...
- Fri Sep 30, 2011 5:15 pm
- Forum: XQuery
- Topic: How do I achieve Library module re-use?
- Replies: 4
- Views: 5299
Re: How do I achieve Library module re-use?
Hello, The fact that your library module gets imported multiple times shouldn't be a problem. The XQuery processor will try to resolve the imported module and should recognize that it has already been imported. The problem you described can arise if the resolved module doesn't match with the one alr...
- Mon May 24, 2010 11:41 am
- Forum: XSLT and FOP
- Topic: XSL-FO List
- Replies: 1
- Views: 4107
Re: XSL-FO List
Hello, I've attached a modified version of your stylesheet in which all of your requirements are working. XML sample: <root> <list type="bulleted"> <item id="appB">An anchor</item> <item>Another item</item> <item>Third item</item> </list> <link idref="appB">Link to the first item.</link> <extlink fi...
- Tue Jul 07, 2009 12:35 pm
- Forum: Common Problems
- Topic: Bug: Schema Documentation uses wrong HTML DTD
- Replies: 1
- Views: 974
Re: Bug: Schema Documentation uses wrong HTML DTD
Hello Maik,
Thank you for reporting these issues. We've made the necessary changes and they will be available in the next release.
Do not hesitate to contact us if you have more questions or suggestions.
Regards,
Alex
Thank you for reporting these issues. We've made the necessary changes and they will be available in the next release.
Do not hesitate to contact us if you have more questions or suggestions.
Regards,
Alex
- Thu May 21, 2009 2:21 pm
- Forum: Common Problems
- Topic: Schema documentation questions
- Replies: 5
- Views: 2236
Re: Schema documentation questions
Hello, The <seeAlso> tags is just an idea we thought about (not yet implemented). The benefits are that we could automatically generate the links depending on the predefined output format (html, docbook, pdf). But unfortunately they wont appear inline in documentation, just before or after it. Best ...
- Tue Apr 21, 2009 11:05 am
- Forum: Other Issues
- Topic: Add documentation annotation to enumeration in Schema view?
- Replies: 2
- Views: 10266
Re: Add documentation annotation to enumeration in Schema view?
Hello,
Currently, facets documentation cannot be edited in 'Schema' page and don't appear in the generated schema documentation. We added an issue on our internal bug tracking system to resolve these problems as soon as possible.
Best regards,
Alex
Currently, facets documentation cannot be edited in 'Schema' page and don't appear in the generated schema documentation. We added an issue on our internal bug tracking system to resolve these problems as soon as possible.
Best regards,
Alex
- Tue Apr 21, 2009 10:38 am
- Forum: Common Problems
- Topic: Schema documentation questions
- Replies: 5
- Views: 2236
Re: Schema documentation questions
Hello,
Will it be helpful if we also add support for handling a 'seeAlso' element in appInfo? You will have to specify the namespace, local name and component type and we will automatically replace it in the documentation with a link to the actual location of that component.
Best regards,
Alex
Will it be helpful if we also add support for handling a 'seeAlso' element in appInfo? You will have to specify the namespace, local name and component type and we will automatically replace it in the documentation with a link to the actual location of that component.
Best regards,
Alex
- Tue Apr 21, 2009 9:49 am
- Forum: Common Problems
- Topic: Schema documentation questions
- Replies: 5
- Views: 2236
Re: Schema documentation questions
Hello, Indeed, there are 2 problems. First, the ids used to identify the components are generated using a counter. Second, if you are using a split method (by namespace, location or component), the name of the html files are generated using the name of the given output file + another counter. Basica...