Search found 501 matches

by Dan
Thu Jan 08, 2009 1:37 pm
Forum: General XML Questions
Topic: checking a files existence
Replies: 2
Views: 2820

Re: checking a files existence

After unzipping the content into a folder, you can apply the following XSL file over the XML document. It will generate a report with all the files that do not exist. Make sure you edit the first parameter from the "fpath" to match your folder. <?xml version="1.0" encoding="...
by Dan
Tue Jan 06, 2009 5:04 pm
Forum: Common Problems
Topic: Plugin development - XPath on current document.
Replies: 7
Views: 3805

Re: Plugin development - XPath on current document.

Hello Cal,
We have this functionality under development as we speak. Write to support to obtain the download link to a beta version of oXygen 10.1.

Best regards,
Dan
by Dan
Mon Jan 05, 2009 6:35 pm
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16781

Re: Disable indention feature in author mode

Thank you for the reply! This can be solved by implementing a new whitespace policy in oXygen. It should consider the whitespaces between blocks as being significant - but not showing them at all - and keeping them into the document model. This can be done, but it rises other problems. What would be...
by Dan
Mon Dec 29, 2008 11:42 am
Forum: Common Problems
Topic: Font and Display Issues
Replies: 1
Views: 1616

Re: Font and Display Issues

The problem is caused by a conflict between subpixel antialiasing (default on Vista) and text transparency. Please make sure the text transparency is set off:

http://www.oxygenxml.com/doc/ug-oxygen/ ... arkup.html
by Dan
Tue Dec 23, 2008 5:03 pm
Forum: General XML Questions
Topic: Forcing page breaks and list breaks in PDF output...
Replies: 3
Views: 7179

Re: Forcing page breaks and list breaks in PDF output...

Hello Josh, Controlling the page breaks in DITA OT is possible only by changing the XSL parameters from the file: ${oxygen_install_dir}/frameworks/dita/DITA-OT/xsl/xslfo/dita2fo-params.xsl . There is no equivalant DITA markup for this. For instance to add a page break before the title of a level 3 t...
by Dan
Tue Dec 23, 2008 4:32 pm
Forum: XSLT and FOP
Topic: translating function not working!
Replies: 1
Views: 1993

Re: translating function not working!

Please post a small XML and XSL sample showing the problem. Trying with: <root text="some&#xD;•&#x9;text"/> and the stylesheet: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/root"> <out> <xsl:va...
by Dan
Tue Dec 23, 2008 4:11 pm
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16781

Re: Disable indention feature in author mode

At this time there is no option for disabling the indentation of the documents saved from the author mode. When an XML file is loaded in the Author mode, all the spaces are normalized, depending on the xml:space attributes and the white-space:pre CSS property. All the whitespaces between elements wi...
by Dan
Fri Dec 19, 2008 6:29 pm
Forum: Common Problems
Topic: Disable indention feature in author mode
Replies: 16
Views: 16781

Re: Disable indention feature in author mode

When switching to the Text mode (or when saving), the XML is indented in conformity with the rules from the CSS and the xml:space attributes. If the CSS specifies for an element that is white-space preserve: elem{ white-space:pre; } then all the whitespaces from the element will remain unchanged, so...
by Dan
Fri Dec 19, 2008 5:18 pm
Forum: Feature Request
Topic: A few handy features for the XSLT editor
Replies: 10
Views: 5446

Re: A few handy features for the XSLT editor

I have recorded it as an enhancement request.
Thank you,
Dan
by Dan
Fri Dec 19, 2008 5:05 pm
Forum: Common Problems
Topic: inline editing xinclude
Replies: 1
Views: 1516

Re: inline editing xinclude

Hello,

There is no in-place editing of the XIncluded content.

In the Author mode the editor presents the included fragments as read-only blocks. Before each block there is a link you can click to open the referred file in the editor.

Regards,
Dan
by Dan
Tue Dec 16, 2008 4:35 pm
Forum: Common Problems
Topic: Debugging XSL functions (non-Java)
Replies: 3
Views: 2439

Re: Debugging XSL functions (non-Java)

We had a few discussions with dr. Michael Kay regarding a debugging mode of Saxon in which the optimisations would be disabled, but unfortunately all this remained at the intention level. I think all the people interested in this Saxon new feature should contact Michael and ask him about it: http://...
by Dan
Tue Dec 16, 2008 12:11 pm
Forum: Common Problems
Topic: Debugging XSL functions (non-Java)
Replies: 3
Views: 2439

Re: Debugging XSL functions (non-Java)

Saxon is optimizing the XSLT execution by using code rewrite. This very clear when having a variable that gets assigned multiple times: <xsl:variable name="v" select="'abc'"/> <xsl:variable name="v" select="string-join($v,'def')"/> <xsl:variable name="v&q...
by Dan
Wed Oct 01, 2008 5:14 pm
Forum: XSLT and FOP
Topic: XSL transformation gives me a "?"
Replies: 1
Views: 1846

Re: XSL transformation gives me a "?"

Usually the square character is displayed when there is a problem with the encoding of the XML file. (the code is mapped to another character) You can verify the code of the character by opening the file in oXygen and placing the caret before the square character - the editor status bar should displ...
by Dan
Wed Sep 24, 2008 12:38 pm
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

There is a difference in the way the XML parser resolves the xml:base attributes and the way oXygen does it. In fact it is a bug in Xerces we already reported and we proposed a fix for it. As a workaround: 1.In the file "loose-chapter.xml" you should move the xml:base attribute from: <chap...
by Dan
Wed Jul 23, 2008 11:33 am
Forum: Common Problems
Topic: Menu disappearing
Replies: 1
Views: 1591

Re: Menu disappearing

Is this happening each time you start oXygen or it happens at a later time when oXygen is already running?

Please post a screenshot using the technical support page:
http://www.oxygenxml.com/techSupport.html

Best regards,
Dan
by Dan
Wed Jul 23, 2008 11:04 am
Forum: Common Problems
Topic: transparent mode
Replies: 1
Views: 1577

Re: transparent mode

Please give more details... Do you mean the "transparent" property from CSS? Is it related to the Author mode of oXygen? Or is related to the action that changes the transparency of the markup in the XML text? (The last button from the "Edit" toolbar..) There is a known issue reg...
by Dan
Wed Jul 23, 2008 10:51 am
Forum: XSLT and FOP
Topic: barcode 39 with xsl fop, parametrization
Replies: 1
Views: 3532

Re: barcode 39 with xsl fop, parametrization

Try using <xsl:value-of select="$hBarcode"/> instead of {$hBarcode}.
by Dan
Mon Jun 02, 2008 4:55 pm
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

Indeed, there is a problem in the expression evaluation. The next version will fix it. For the moment, I propose the following workaround: image{ display:block; content:url( concat( parent-url(document-url()) concat("../images/") attr(name) )); } In this way the name attribute will be reev...
by Dan
Tue Apr 29, 2008 2:45 pm
Forum: Other Issues
Topic: How to test empty strings
Replies: 1
Views: 3292

Re: How to test empty strings

The variable empty_string must be initialized to an empty string. See the following example: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:variable name="nonempty_string" select="'alpha beta'...
by Dan
Tue Apr 29, 2008 11:10 am
Forum: XML Schemas
Topic: <keyref> not finding all bad data elements at once
Replies: 9
Views: 7383

Re: <keyref> not finding all bad data elements at once

Hello Mike,
oXygen is using as XML Schema validator the Xerces parser. Unfortunately the validator stops after each error. We will try to force it to continue to the end of the document.
Regards,
Dan
by Dan
Mon Apr 28, 2008 3:01 pm
Forum: XML Schemas
Topic: Newbie: Schema to XML to Schema
Replies: 1
Views: 3792

Re: Newbie: Schema to XML to Schema

Hello Michael,

Can you give us some real samples? It's hard to see the big picture.

Regards,
Dan
by Dan
Mon Apr 28, 2008 2:40 pm
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

Hello Rapahel, The url function is working correctly resolving relative references to the CSS. It might be used for loading images used as decorators. We solved the problem using another two functions: document-url() - returns the URL of the document - in fact of the XML element the CSS rule applies...
by Dan
Mon Apr 28, 2008 11:45 am
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

Hello Raphael, I have just uploaded a new beta kit for the oXygen 9.2. If you want to try it, you can download it from: http://www.oxygenxml.com/update/oxygen.tar.gz After extracting it, you should use one of oxygen.sh or oxygen.bat to start it. I assume you have Java 1.5 or 1.6 installed on your co...
by Dan
Mon Apr 28, 2008 11:27 am
Forum: General XML Questions
Topic: how i framing this work without errors ?
Replies: 1
Views: 11637

Re: how i framing this work without errors ?

Sorry, but we cannot help you. You should post this type of questions on a VBulletin discussion forum.

Best regards,
Dan
by Dan
Mon Apr 28, 2008 11:12 am
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

Unfortunately, using oXygen 9.1 this is not possible. The good news are that starting from the version 9.2 (that will be released at the beginning of May), there will be support for the recursive evaluating of functions. In your case, the expression will be like: content:url(concat('../images' attr(...
by Dan
Mon Apr 28, 2008 10:21 am
Forum: Common Problems
Topic: Show image in Authoring mode
Replies: 49
Views: 21779

Re: Show image in Authoring mode

Hello Raphael, Here it is a working sample. The XML file - "test.xml": ------------- <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="test.css"?> <test> <image name="svg/animate-elem-04-t.svg"> <caption> Hello <...
by Dan
Mon Jan 21, 2008 4:03 pm
Forum: XSLT and FOP
Topic: "Unknown file extension in href" How do I fix them
Replies: 3
Views: 5029

For the first two xref, it is necessary to add the format attribute: <xref format="html" href="http://sagemasterbuil..... The next three links are a bit of a problem, because I do not know what you want to refer. If the "AboutPassword", "ChangePassword" and "R...
by Dan
Mon Jan 21, 2008 1:20 pm
Forum: Other Issues
Topic: saxon XPTY0019 errors in Oxygen, not on command-line
Replies: 2
Views: 3314

Hello, I have executed a transformation using your samples and the result was: <?xml version="1.0" encoding="UTF-8"?> MATCHED: <el att="1"><sub/></el> without any warnings. Please make sure you have the latest oXygen build: 2007122116. You can check this using the Help/...
by Dan
Mon Jan 21, 2008 12:55 pm
Forum: General XML Questions
Topic: Convert DTD to XML / Generate XML instances from DTD
Replies: 1
Views: 29220

Hello, Each time you create a new XML file based on a DTD, oXygen generates the required content for the root element automatically. There is no need for a new tool. Let's take for example the following DTD: <?xml version="1.0" encoding="UTF-8"?> <!ELEMENT a (b,c,d) > <!ELEMENT b...
by Dan
Mon Jan 21, 2008 12:34 pm
Forum: General XML Questions
Topic: Inserting Nodes between Nodes
Replies: 3
Views: 4064

Hello,

Probably it can be done using XSLT. A good step by step tutorial may be found here:
http://www.zvon.org/xxl/XSLTutorial/Output/index.html

Regards,
Dan