Search found 2095 matches
- by george
- Thu Aug 23, 2012 7:17 am
- Forum: Common Problems
- Topic: saxon extensions - GUI interface
- Replies: 1
- Views: 1557
Re: saxon extensions - GUI interface
Hi Steve, That extension works only with Saxon 6.5 for XSLT 1.0. For XSLT 2.0 and Saxon 9 please use xsl:result-document instead. You do not need to set any extension library, saxon:output is built-in in Saxon 6.5. Please make sure the "saxon" namespace prefix is defined as xmlns:saxon=&qu...
- by george
- Sat Aug 04, 2012 3:26 pm
- Forum: XSLT and FOP
- Topic: XPath on a 'broken' HTML page.
- Replies: 2
- Views: 2112
Re: XPath on a 'broken' HTML page.
You need to pass the HTML though a tool like NekoHTML that gets you wellformed XML (XHTML) from HTML. Then you can use all the normal XML tools on that, XPath, XSLT, XQuery, etc.
In oXygen you can use File -> Import -> HTML File to get XHTML out of HTML based on NekoHTML.
Best Regards,
George
In oXygen you can use File -> Import -> HTML File to get XHTML out of HTML based on NekoHTML.
Best Regards,
George
- by george
- Fri Aug 03, 2012 8:00 am
- Forum: XML Schemas
- Topic: Schema Error
- Replies: 1
- Views: 4848
Re: Schema Error
Hi, Your schema does not define a target namespace therefore you should use the xsi:noNamespaceSchemaLocation instead of xsi:schemaLocation to associate the schema with the document <?xml version="1.0" encoding="UTF-8" ?> <MetroBill xmlns:xsi="http://www.w3.org/2001/XMLSchem...
- by george
- Sat Jul 28, 2012 4:44 am
- Forum: Common Problems
- Topic: Author default view settings
- Replies: 4
- Views: 3812
Re: Author default view settings
Hi Gary, The simplest thing is to edit that file directly - we will also correct that for our next release. Now, if you want to set an alternative CSS for DITA you can do that from Options->Preferences -- Document Type Association, select DITA, use the Edit button to edit the DITA document type then...
- by george
- Fri Jul 27, 2012 2:18 am
- Forum: Common Problems
- Topic: Author default view settings
- Replies: 4
- Views: 3812
Re: Author default view settings
Hi Gary, You can change the default tags mode from Options->Preferences -- Editor / Edit modes / Author -- Tags, Tags display mode. The default is "Partial Tags", just select "Full Tags" instead of that. oXygen uses CSS to render the XML element in the visual (Author) editing mod...
- by george
- Thu Jul 26, 2012 11:06 pm
- Forum: General XML Questions
- Topic: XML to XSL Converter
- Replies: 8
- Views: 31471
Re: XML to XSL Converter
The strip space elements does not work because your XML document defines xml:space="preserve" on the root element thus indicating that the whitespace is important and should be preserved. You need to specifically remove empty text nodes if that is what you want. For example you can add a t...
- by george
- Thu Jul 26, 2012 10:37 pm
- Forum: Common Problems
- Topic: Problem with "split" in context menu
- Replies: 2
- Views: 2036
Re: Problem with "split" in context menu
Hi Glenn, Only block level elements can be split. If your SubCaption element is defined by the CSS as a block element and the P element inside SubCaption is not a block element then oXygen will offer the split action on the SubCaption element. Please make sure your CSS defines also SubCation P as bl...
- by george
- Fri Jul 13, 2012 12:08 pm
- Forum: General XML Questions
- Topic: XML to XSL Converter
- Replies: 8
- Views: 31471
Re: XML to XSL Converter
Hi Armin, I do not understand why you changed the template that matches elements to <xsl:template match="*"> <xsl:for-each select="node()"> <x:element name="{name()}" namespace="{namespace-uri()}"> <xsl:apply-templates select="@*|node()"/> </x:elemen...
- by george
- Tue Jul 10, 2012 11:56 am
- Forum: General XML Questions
- Topic: XML to XSL Converter
- Replies: 8
- Views: 31471
Re: XML to XSL Converter
Sorry, because node() does not select attribute nodes, you need to add @* in the apply-templates instruction, see the complete stylesheet below: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="a"...
- by george
- Tue Jul 03, 2012 8:59 pm
- Forum: General XML Questions
- Topic: XML to XSL Converter
- Replies: 8
- Views: 31471
Re: XML to XSL Converter
Well, actually you can do this with a very simple XSLT stylesheet, like the one below: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="a" exclude-result-prefixes="a" version="2.0&q...
- by george
- Mon Jul 02, 2012 11:11 am
- Forum: XML Schemas
- Topic: Multi-file Schematron architecture
- Replies: 9
- Views: 10677
Re: Multi-file Schematron architecture
As far as I know there is not such XML parser for Java - if you find one let me know .
- by george
- Mon May 14, 2012 11:38 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Rendering oxy_delete Processing Instructions
- Replies: 3
- Views: 3851
Re: Rendering oxy_delete Processing Instructions
Hi Brian, I sent you a reply already on the dita-users list. Here it is again that stylesheet that converts the delete PIs to XML elements. You may change that to covert to whatever markup you need. Please make sure you set Saxon 9 PE or EE as your XSLT processor. <?xml version="1.0" encod...
- by george
- Wed Apr 11, 2012 9:37 pm
- Forum: XML Schemas
- Topic: Multi-file Schematron architecture
- Replies: 9
- Views: 10677
Re: Multi-file Schematron architecture
Hi, You summarized very well the possibilities. It is a pity that the include Schematron element did not work as many people expect that to work, that is to refer to a schema and to include all the patterns that are found in that schema. AFAIK for the next version of Schematron there is a new Schema...
- by george
- Thu Mar 15, 2012 1:16 pm
- Forum: XSLT and FOP
- Topic: Remove group levels
- Replies: 3
- Views: 2900
Re: Remove group levels
You can start with a recursive copy template and just add a rule that matches the elements ending with 'Group' for example and do the specific process you need there. In the example below we just apply templates on their content, thus removing that element but keeping its content: <?xml version=&quo...
- by george
- Sun Mar 04, 2012 3:09 pm
- Forum: XML Schemas
- Topic: XML 1.0 DTD
- Replies: 2
- Views: 3164
Re: XML 1.0 DTD
Hi, The Generate/Convert Schema action used Trang and the conversion is done in two steps - the first step created an internal model and the second step created the output schema. In some cases the internal model contains information that makes Trang not able to express that in DTD format, and that ...
- by george
- Fri Feb 17, 2012 5:06 pm
- Forum: Common Problems
- Topic: Show Definition cannot find definition
- Replies: 4
- Views: 3141
Re: Show Definition cannot find definition
The initial issue was already solved, and the presence of xsi:type does not break the support for locating the element definition in the schema. This will be available in our next release. I also logged an issue to identify a type in the schema if the Show Definition action is triggered having the c...
- by george
- Wed Feb 08, 2012 11:16 pm
- Forum: Other Issues
- Topic: Validating with xinclude or entities
- Replies: 4
- Views: 3214
Re: Validating with xinclude or entities
Please try to create a complete sample with two documents, one the main file and the other the included file. Then you can post that here or zip them and send them to support@oxygenxml.com. Otherwise with the partial example provided it is hard to see the whole picture as the included files are miss...
- by george
- Wed Feb 08, 2012 9:58 pm
- Forum: Other Issues
- Topic: Validating with xinclude or entities
- Replies: 4
- Views: 3214
Re: Validating with xinclude or entities
Hi, Do you get the same problem with the DocBook 5 sample we have inside the oXygen sample project in [oXygen]/samples/docbook/v5/sampleXInclude.xml? Please make sure you use correct URIs for referring to those files, for example you can check that you use forward slashes (/) as path delimiters and ...
- by george
- Thu Feb 02, 2012 8:24 pm
- Forum: XML Schemas
- Topic: Restricting to a list
- Replies: 8
- Views: 7708
Re: Restricting to a list
Then you may consider generating the XSD schemas. For example you can add an annotation in the schema when you want to have those enumerations, that point for instance to the document that contain the values and then you can have a simple XSLT that run on the schema transforms those annotations in t...
- by george
- Thu Feb 02, 2012 6:42 pm
- Forum: XML Schemas
- Topic: Restricting to a list
- Replies: 8
- Views: 7708
Re: Restricting to a list
You can use Schematron to implement such a check, that the values are found in a specified list of values in an external XML document. In fact there is an entire framework created on this idea, using Schematron for implementation, called genericode, developed by Anthony Coates and used in OASIS UBL ...
- by george
- Wed Feb 01, 2012 10:56 pm
- Forum: Common Problems
- Topic: Show Definition cannot find definition
- Replies: 4
- Views: 3141
Re: Show Definition cannot find definition
Thanks for letting us know about this issue. We have a very recent similar report and we have this logged as EXM-23127 in our issue tracking system. This is planned to be solved in our next release. We will update this forum entry as soon as we have progress on this. The problem is related with the ...
- by george
- Wed Jan 25, 2012 4:38 pm
- Forum: XQuery
- Topic: (manual) Saxon update?
- Replies: 2
- Views: 5676
Re: (manual) Saxon update?
Hi Piotr, It should not be a license problem if you update the library but the problem is that it will not work. oXygen has low-level dependencies on Saxon and the new version contains changes that makes the new library incompatible with the previous version. We tried to include Saxon 9.4 in oXygen ...
- by george
- Tue Jan 03, 2012 1:00 pm
- Forum: General XML Questions
- Topic: How to convert word to Title Case
- Replies: 1
- Views: 3036
Re: How to convert word to Title Case
Hi, oXygen has a plugin called Form Words that converts a text to that form. To get that please go to http://www.oxygenxml.com/oxygen_sdk.html#Developer_Plugins and download the sample plugins in compiled format: http://www.oxygenxml.com/InstData/Editor/Plugins/OxygenPluginsJars.zip When you expand ...
- by george
- Thu Dec 22, 2011 12:04 pm
- Forum: Other Issues
- Topic: XProc and problem with schema aware processing
- Replies: 1
- Views: 1635
Re: XProc and problem with schema aware processing
Hi, You can pipe directly the XML to the Schematron validation and sink the result of the XML Schema validation. For example the following pipeline <?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main" xmlns:c=...
- by george
- Tue Dec 20, 2011 12:30 pm
- Forum: XML Schemas
- Topic: XSD Schema 1.1 status and support
- Replies: 14
- Views: 11780
Re: XSD Schema 1.1 status and support
I see that I did not address one of your questions. You should develop in XML Schema 1.1 directly, there is no convertor right now from Relax NG to XML Schema 1.1 and even if Trang will be updated to include that it is still more useful to design and implement a schema in the technology that you wan...
- by george
- Tue Dec 20, 2011 12:25 pm
- Forum: XML Schemas
- Topic: XSD Schema 1.1 status and support
- Replies: 14
- Views: 11780
Re: XSD Schema 1.1 status and support
The current support for XSD 1.1 includes only validation though Saxon EE. For that you need to enable the XML Schema 1.1 support for Saxon from the oXygen options and then either make Saxon EE the default XML Schema processor (again in the oXygen options) or define a validation scenario and specify ...
- by george
- Thu Dec 08, 2011 2:46 pm
- Forum: XML Schemas
- Topic: Schematron: Reflect line and column number
- Replies: 3
- Views: 3937
Re: Schematron: Reflect line and column number
It depends on that Schematron implementation that you use to make available that information. You should look into the documentation of that to see if this is available and if yes, how you can obtain that if by default this information is not provided. The Schematron implementation used by oXygen is...
- by george
- Wed Nov 23, 2011 5:46 pm
- Forum: Common Problems
- Topic: Schematron Validation Slow in Editor 13
- Replies: 3
- Views: 2585
Re: Schematron Validation Slow in Editor 13
I tried this sample but it validates instantly so I cannot reproduce the delay you are experimenting. We will test on a few more installations to see if we can reproduce the problem you described. Now... I just looked closely into your XML Schema and it seems you have external references. It is poss...
- by george
- Fri Nov 18, 2011 10:58 am
- Forum: Other Issues
- Topic: Working with HTML5
- Replies: 13
- Views: 12410
Re: Working with HTML5
Hi Bob, You may want to look also into NVDL. This allows extracting fragments of your document based on their namespace and direct them to different schemas, and you can have different schema types for different fragments - for example the XHTML can go to a Relax NG schema while your namespace can g...
- by george
- Thu Nov 17, 2011 12:05 pm
- Forum: Feature Request
- Topic: HTML5 and XML
- Replies: 3
- Views: 2995
Re: HTML5 and XML
You can use wildcard patterns also in Relax NG, this is present in almost any Relax NG schema that allows foreign content. Alternatively you can use NVDL to extract the XHTML part of the document and direct that to the XHTML schema while for content in other namespaces you can either accept that wha...
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