Search found 627 matches

by alex_jitianu
Thu Nov 15, 2012 6:30 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 614

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&...
by alex_jitianu
Thu Nov 15, 2012 5:34 pm
Forum: Other Issues
Topic: variables in XSLTOperation
Replies: 2
Views: 614

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...
by alex_jitianu
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: 2965

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
by alex_jitianu
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: 2965

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...
by alex_jitianu
Fri Nov 09, 2012 1:47 pm
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 633

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
by alex_jitianu
Fri Nov 09, 2012 9:49 am
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 633

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...
by alex_jitianu
Wed Oct 31, 2012 3:47 pm
Forum: Other Issues
Topic: Form controls: Simple way to "Edit" a document
Replies: 3
Views: 735

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...
by alex_jitianu
Tue Oct 30, 2012 4:00 pm
Forum: Other Issues
Topic: Form controls: Simple way to "Edit" a document
Replies: 3
Views: 735

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")...
by alex_jitianu
Tue Aug 21, 2012 1:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 4376

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 yo...
by alex_jitianu
Tue Aug 21, 2012 9:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 4376

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...
by alex_jitianu
Mon Aug 20, 2012 2:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problems with frameworks in Oxygen 14
Replies: 17
Views: 4376

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 ...
by alex_jitianu
Fri Jun 22, 2012 9:48 am
Forum: Common Problems
Topic: Errors after installing the latest TEI framework
Replies: 1
Views: 642

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
by alex_jitianu
Mon Dec 05, 2011 9:59 am
Forum: Common Problems
Topic: shorten long weblinks
Replies: 4
Views: 1519

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 : <xref href="http://www.oxygenxml.com/forum/topic6490.html" format="html" scope="external">topic6490.html</xref> . Regards, Alex
by alex_jitianu
Fri Dec 02, 2011 6:06 pm
Forum: Common Problems
Topic: shorten long weblinks
Replies: 4
Views: 1519

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...
by alex_jitianu
Thu Dec 01, 2011 6:13 pm
Forum: Common Problems
Topic: shorten long weblinks
Replies: 4
Views: 1519

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~="...
by alex_jitianu
Thu Oct 13, 2011 6:13 pm
Forum: XQuery
Topic: How do I achieve Library module re-use?
Replies: 4
Views: 3554

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...
by alex_jitianu
Fri Sep 30, 2011 5:15 pm
Forum: XQuery
Topic: How do I achieve Library module re-use?
Replies: 4
Views: 3554

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...
by alex_jitianu
Mon May 24, 2010 11:41 am
Forum: XSLT and FOP
Topic: XSL-FO List
Replies: 1
Views: 2363

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 ...
by alex_jitianu
Tue Jul 07, 2009 12:35 pm
Forum: Common Problems
Topic: Bug: Schema Documentation uses wrong HTML DTD
Replies: 1
Views: 508

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
by alex_jitianu
Thu May 21, 2009 2:21 pm
Forum: Common Problems
Topic: Schema documentation questions
Replies: 5
Views: 1176

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 ...
by alex_jitianu
Tue Apr 21, 2009 11:05 am
Forum: Other Issues
Topic: Add documentation annotation to enumeration in Schema view?
Replies: 2
Views: 8478

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
by alex_jitianu
Tue Apr 21, 2009 10:38 am
Forum: Common Problems
Topic: Schema documentation questions
Replies: 5
Views: 1176

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
by alex_jitianu
Tue Apr 21, 2009 9:49 am
Forum: Common Problems
Topic: Schema documentation questions
Replies: 5
Views: 1176

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...
by alex_jitianu
Thu Dec 18, 2008 7:08 pm
Forum: Other Issues
Topic: xquery collection() on eXist collection
Replies: 11
Views: 7233

Re: xquery collection() on eXist collection

Hello, When executing an eXist XQuery in oXygen, the collection URI must be given relative, like this : for $book in collection("/db/myCollection")//book Also before running an XQuery against eXist you must create an eXist connection and use that connection as the XQuery processor. A detai...
by alex_jitianu
Tue Oct 07, 2008 9:59 am
Forum: Common Problems
Topic: Author mode: table columns (Table Cell Span Provider?)
Replies: 1
Views: 1021

Re: Author mode: table columns (Table Cell Span Provider?)

Hello, In order to provide information about cell spanning you will have to create a Table Cell Span Provider. In method AuthorTableCellSpanProvider.getColSpan(AuthorElement cellElement) you will have to check if the given cellElement is the optional element (you can use AuthorElement.getLocalName()...
by alex_jitianu
Tue Jan 10, 2006 7:06 pm
Forum: Common Problems
Topic: Passing Saxon options to XQuery processor?
Replies: 2
Views: 2909

Hello, Concerning your question about the saxon serialization parameters, Oxygen uses its own serialization of the output of the transformation, so these params are not curently used. We will think of a way of integrating them in the next version of Oxygen (after 7.0). We are aware of the problem yo...
by alex_jitianu
Wed Nov 16, 2005 11:37 am
Forum: Other Issues
Topic: Using max function with dates in xquery
Replies: 2
Views: 6791

Hello, All items in the argument of the max() function must be numeric or derived from a single base type. So the items from "$workers//q2:bdate" are being converted to numeric type but something like {1975-02-20} cannot be converted to a number. You can try the following code : declare namespace q2...

Go to advanced search