Search found 2100 matches

by george
Sat Jul 28, 2012 4:44 am
Forum: Common Problems
Topic: Author default view settings
Replies: 4
Views: 1777

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: 1777

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: 19821

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: 787

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: 19821

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: 19821

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: 19821

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: 7
Views: 4504

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: 1754

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: 7
Views: 4504

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: 1206

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: 1362

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: 1292

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: 1168

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: 1168

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: 2807

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: 2807

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: 1292

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: 3443

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: 1656

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: 588

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: 6273

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: 6273

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: 1785

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: 1114

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: 7616

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: 1399

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...
by george
Thu Nov 17, 2011 11:11 am
Forum: Other Issues
Topic: Working with HTML5
Replies: 13
Views: 7616

Re: Working with HTML5

Hi Rob, It seems to me that you have some expectations that come from the fact that you use XHTML 5. Please remove that and just consider that you have an XML document and a Relax NG schema. The validation will do just that: check that the document matches the patterns specified in the schema. If yo...
by george
Thu Nov 17, 2011 10:30 am
Forum: Other Issues
Topic: XPath request - DTD aware XML - attribute default value
Replies: 4
Views: 1260

Re: XPath request - DTD aware XML - attribute default value

Hi Matthieu, Of course you can use a catalog to direct the actual DTD to an empty DTD and thus remove the default attributes. But that requires setting a catalog to oXygen, run the XPath then remove the catalog... which is a lot more than just commenting the DOCTYPE declaration, run the XPath and un...
by george
Tue Nov 15, 2011 10:24 pm
Forum: Other Issues
Topic: XPath request - DTD aware XML - attribute default value
Replies: 4
Views: 1260

Re: XPath request - DTD aware XML - attribute default value

You can remove or comment the DOCTYPE declaration, run your XPath and then undo to add back the DTD.

Best Regards,
George

Go to advanced search