Search found 501 matches

by Dan
Mon Jan 21, 2008 12:30 pm
Forum: General XML Questions
Topic: Adding Attributes to all XML Nodes
Replies: 3
Views: 5036

I am not sure what the problem is..
You could use XSLT, but once you have parsed the content of the XML in PHP it should be much easy to process the attribute values. I see from your sample that there is a nice set of XML functions available in PHP.
by Dan
Mon Jan 21, 2008 12:14 pm
Forum: Other Issues
Topic: CSS3 namespaces not working as described in documentation
Replies: 1
Views: 2620

Hello, Please post the complete samples (XML and CSS) showing the problem. In the following you may find a working sample. I used the Oasis namespace to define a table layout in the CSS: @namespace oasis 'http://www.oasis-open.org/specs/tm9901.html'; oasis|article{ display:block; } oasis|table{ disp...
by Dan
Mon Jan 21, 2008 12:00 pm
Forum: XSLT and FOP
Topic: A small problem, is there any one who can solve it.
Replies: 2
Views: 2837

Very similar to: http://www.oxygenxml.com/forum/ftopic2704.html <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="ADDRESS[@PRIMARY='yes']"/> <xsl:template match...
by Dan
Mon Jan 21, 2008 11:55 am
Forum: Feature Request
Topic: CSS3 namespace validation
Replies: 1
Views: 3162

At this time there is no such option. Unfortunately, until the CSS Level 3 specification is released there are little chances to integrate a proper CSS Level 3 validator (the validation rules aren't there yet, even for namespaces). I suggest you break your CSS into several files, then use the @impor...
by Dan
Fri Jan 18, 2008 4:16 pm
Forum: Common Problems
Topic: Slow response time editing file
Replies: 1
Views: 2581

There are performance problems when editing text on very long lines. The workaround is to brake these long lines into several smaller lines.
by Dan
Fri Jan 18, 2008 1:12 pm
Forum: XSLT and FOP
Topic: canyou solve this prob, i wt to remove specific type element
Replies: 2
Views: 2714

You can inhibit the output for the empty TXT element by writing an empty template maching it. The rest of the nodes are copied by the less prioritary second template. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="TXT[cou...
by Dan
Fri Jan 18, 2008 1:02 pm
Forum: Other Issues
Topic: Generated file. Edit the classed file...
Replies: 2
Views: 3253

Hello,

The master CSS file is located in the oXygen install directory, subdirectory:

Code: Select all

frameworks/dita/css_classed/dita.css
The conversion script is in the same directory. You should use convert.bat on Windows, convert.sh on other platforms.

Regards,
Dan
by Dan
Fri Jan 18, 2008 12:55 pm
Forum: XSLT and FOP
Topic: strange problem with apply-templates select="..."
Replies: 2
Views: 3160

Sorry, but I could not figgure out what was the problem. The stylesheet is incomplete, and there may be multiple things that can go wrong. You can try to debug your stylesheet. Create a transformation scenario in oXygen, then use the debugger to step into the transformation and check how the templat...
by Dan
Fri Jan 18, 2008 12:23 pm
Forum: XSLT and FOP
Topic: Why no bolding when using <unicode> with "dita2ht
Replies: 1
Views: 2335

I have generated the HTML file from a task containing the XML fragment. Looking in the HTML source I observed that the note has been transformed into: <div class="important"> <span class="importanttitle">Important:</span> We strongly recommend that you write down your administrat...
by Dan
Fri Jan 18, 2008 11:46 am
Forum: Other Issues
Topic: "dita.css" sent with oxygen \frameworks contains e
Replies: 4
Views: 3612

The validation of the CSS file is done using the W3C CSS validator. It verifies if the CSS complies to the W3C CSS 2.1 specification. The CSS files used by the DITA framework contain some CSS "extensions" specific to to CSS 3.0 and some recognized only by the Author mode of oXygen. For ins...
by Dan
Fri Jan 18, 2008 11:13 am
Forum: XSLT and FOP
Topic: "Unknown file extension in href" How do I fix them
Replies: 3
Views: 5032

Hello, A small section from your document would be very helpful in identifying the problem. "Set the format attribute and specify the format of the file if href link doesn't point to dita topic file. Otherwise, change the file extension name to 'dita' or 'xml'." http://dita-ot.sourceforge....
by Dan
Thu Jan 17, 2008 11:28 am
Forum: XSLT and FOP
Topic: Newbie: Help understanding how to edit existing XSL
Replies: 2
Views: 2818

The stylesheet you copied is depending on other stylesheets. <!-- stylesheet imports --> <!-- the main dita to xhtml converter --> <xsl:import href="dita2xhtml.xsl"/> In fact it is an entire tree of stylesheets which import other stylesheets. The "dita2html.xsl" is the root of th...
by Dan
Wed Jan 16, 2008 5:08 pm
Forum: Other Issues
Topic: Can folding be made automatic?
Replies: 2
Views: 3075

There is no such feature in oXygen.
I will add it to the features request section on our tracking system.

Regards,
Dan
by Dan
Wed Jan 16, 2008 4:42 pm
Forum: XML Schemas
Topic: Need help with Relax NG Compact schema
Replies: 5
Views: 5629

Unfortunately, you cannot use the minus operator. It is intended only for use with name classes, not with patterns. I spent some time trying to find a correct way of rewritting a pattern similar to the one you suggested, but the results were more complicated that the basic solution of using a choice...
by Dan
Mon Jan 14, 2008 1:55 pm
Forum: XSLT and FOP
Topic: Apply-templates with-param problem / question
Replies: 7
Views: 5296

Changing the stylesheet version to "1.1" and changing the apply-templates select value from "." to "./*" seems to fix the problem when using Saxon 6, Xalan, Firefox (I have not tested IE and Opera): <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform&qu...
by Dan
Fri Jan 11, 2008 5:59 pm
Forum: Common Problems
Topic: "Open URL..." dialog needs major overhaul
Replies: 1
Views: 2344

I admit the case you mentioned, the usage of the dialog can be odd. In most cases the users are browsing for resources, so basically they use only the lower part of the dialog including the user name, password and the server field. The upper part of the dialog consists of a textfield in which the co...
by Dan
Fri Jan 11, 2008 5:28 pm
Forum: XML Schemas
Topic: Need help with Relax NG Compact schema
Replies: 5
Views: 5629

Here it is the schema in Relax NG compact syntax that defines the <courses> element as a choice. I named the root element <test>: default namespace = "" start = element test { element courses { ( attribute dept { xsd:NCName }, element course { attribute number { xsd:integer } }+ ) | ( elem...
by Dan
Fri Jan 11, 2008 4:02 pm
Forum: Common Problems
Topic: Table toolbar not visible
Replies: 1
Views: 1976

Hello, When you are editing a TEI document, the editor detects the type of the document, then loads the set of actions specially designed for TEI, including the actions for inserting tables, rows, cells, etc. If you have defined your own DTD and CSS and want to add some actions to the toolbar, you s...
by Dan
Fri Jan 11, 2008 3:46 pm
Forum: XSLT and FOP
Topic: Apply-templates with-param problem / question
Replies: 7
Views: 5296

How did you defined the variable? In the stylesheet, like the following, or it was given as a parameter to the XSLT processor? <xsl:variable name="date"> <Cluster Name="Time stamp" NumElts="10"> <DBL Name="fractional second">0.13610</DBL> <I32 Name="secon...
by Dan
Wed Jan 09, 2008 3:35 pm
Forum: Other Issues
Topic: Unable to open remote files for editing
Replies: 5
Views: 5225

There are two possibilities to open a resource: 1 Specifying the complete URL of the resource to be opened. In this case you also have to indicate the password, either inline in the URL (separate the user from the password with the ":" character) like: sftp://dnedrow:some_password@foo.bar....
by Dan
Wed Jan 09, 2008 3:09 pm
Forum: XSLT and FOP
Topic: adding attributes to xml output
Replies: 1
Views: 2140

Hello, I understand that you have some XML of the form: <test> <listeoutils> <outil type='bibliothèque' at1="x" at2="y"> <outil-content/> </outil> <outil type='other' at2="z" at3="t"> <outil-content2/> </outil> </listeoutils> </test> Here is a stylesheet that...
by Dan
Tue Jan 08, 2008 5:19 pm
Forum: Common Problems
Topic: Spacing bug in Author mode, oXygen 9.1
Replies: 5
Views: 4056

I tried on my Mac 10.5.1 and on a 10.4.11 and I could not reproduce it. I think there is a problem with some fonts on that computer. I've seen cases in which some fonts report larger metrics than real, and the layout gets a bit out of the sync. You could try opening the file frameworks/tei/xml/tei/c...
by Dan
Tue Aug 07, 2007 9:44 am
Forum: Feature Request
Topic: How to associate XML documents with declared external vars?
Replies: 4
Views: 4908

Let's consider the XQuery expression: declare variable $x as xs:string external; declare variable $y as document-node() := doc($x); <test>{ for $a in $y/* return <element> {$a} </element> } </test> To run it you should select from the Transformation Configuration Dialog the "Execute XQuery"...
by Dan
Thu Aug 02, 2007 10:50 am
Forum: Feature Request
Topic: How to associate XML documents with declared external vars?
Replies: 4
Views: 4908

oXygen does not support the external variables of type "document-node". I filed an enhancement request for this. An workaround would be to create a new external variable of type xs:string, and then assign to the $legalcodes variable the evaluation of the doc() function. Something like this...
by Dan
Tue Jul 31, 2007 11:38 am
Forum: Feature Request
Topic: Horizontal scrolling with trackpad (MacBook)
Replies: 1
Views: 3343

oXygen is a Java application, so it depends on the Java implementation for things like scrolling. Unfortunately, the current Java version 1.4 and 1.5 do not support the horizontal scrolling using the trackpad or the MightyMouse. The good news is that Apple solved this problem in Java SE 6 Developer ...
by Dan
Tue Nov 21, 2006 4:18 pm
Forum: Other Issues
Topic: "Find in Files" xpath
Replies: 14
Views: 15565

We fixed the problem.

You can find a new oxygen jar file here:

http://www.oxygenxml.com/update/oxygenXPath.jar

You can replace the oxygen.jar file from the lib directory of your standalone installation with this file.
Let us know if it worked.

Thank you,
Dan
by Dan
Mon Oct 30, 2006 11:00 am
Forum: Other Issues
Topic: Unicode support in diff editor?
Replies: 3
Views: 6613

We will change the diff editor to use the same font as the main editor. As a workaround, you can activate the Asian languages support in your operating system. The following steps apply to Windows OS: Control Panel, Regional and Language Settings, Languages, Supplemental language support, Install fi...
by Dan
Fri Oct 20, 2006 5:54 pm
Forum: Common Problems
Topic: uninstalling oxygen
Replies: 4
Views: 4476

A solution is to use the Windows Installer CleanUp Utility (a front end for MsiZap) to erase
the oXygen installation and the associated registry keys.
You can get it from here:
http://support.microsoft.com/kb/290301
by Dan
Fri Oct 20, 2006 2:13 pm
Forum: Common Problems
Topic: uninstalling oxygen
Replies: 4
Views: 4476

Yes, indeed, there is a problem in our installation. On some systems it cannot find the extensions keys. This will be corrected in the next version. Unfortunately you will have to delete manually the progam files and shortcuts.
by Dan
Thu Oct 19, 2006 10:52 am
Forum: Common Problems
Topic: uninstalling oxygen
Replies: 4
Views: 4476

Hello, Have you installed the version 6 of the program? From the error message it looks that you have no priviledges to uninstall the program, or the registry is corrupted somehow. You can delete the program from disk (probably from Program Files), and then the shortcuts from the Programs menu, but ...