Search found 32 matches

by alk
Fri Nov 02, 2018 1:45 pm
Forum: Common Problems
Topic: The current transformer does not support the Sequence Presentation mode for the output
Replies: 1
Views: 1264

The current transformer does not support the Sequence Presentation mode for the output

Hello, I have written an XQJ based transformer and tried to configure it under user defined engines in Oxygen so that I can use it in a transformation scenario. Unfortunately I'm getting the error message "The current transformer does not support the Sequence Presentation mode for the output&qu...
by alk
Wed Oct 27, 2010 11:50 am
Forum: Common Problems
Topic: Schema in diagram and text view
Replies: 2
Views: 2303

Re: Schema in diagram and text view

Hi,

thanks a lot, that's exactly the information I was looking for - you saved my day!

Cheers
- Alex
by alk
Wed Oct 27, 2010 9:43 am
Forum: Common Problems
Topic: Schema in diagram and text view
Replies: 2
Views: 2303

Schema in diagram and text view

Hi, I just can't find out how to adjust the settings in such way that a schema is shown in text and digram view at the same time. In Oxygen 11 the screen was always split, so that browsing through the text highlighted the respective element in the diagram view, but now I'm having either the one or t...
by alk
Wed Jul 01, 2009 2:50 pm
Forum: Other Issues
Topic: Icons in modell view
Replies: 3
Views: 2485

Re: Icons in model view

Hi, sad to here. With the old icons it was just one look and you immediately understood whether you were dealing with sequence, all or choice. The new ones require more thinking. To me the old icons felt like looking at an analog watch, whereas the new ones feel like looking at a digital clock. Rega...
by alk
Mon Jun 29, 2009 2:07 pm
Forum: Other Issues
Topic: Icons in modell view
Replies: 3
Views: 2485

Icons in modell view

Hi,

is it possible to configure Oxygen in such way that the formerly used icons for sequence, all and choice are displayed in modell view? I actually like them more than the ones in the latest version. Just my personal opinion...

Cheers
- Alex
by alk
Mon Apr 06, 2009 9:51 am
Forum: XSLT and FOP
Topic: Remove optional elements
Replies: 1
Views: 1795

Remove optional elements

Hi,

I'd like to run an XSLT that removes all elements from the source document which are optional according to the related schema. Is there a way to determine if an element ist mandatory or optional???

Regards
- Alex
by alk
Thu Apr 02, 2009 3:16 pm
Forum: Other Issues
Topic: XML instance generator - export problem
Replies: 4
Views: 3902

Re: XML instance generator - export problem

Hello, I just found out that there is still a little problem regarding the namespace mapping. Even though the mapping is now exported correctly into the configuration file the command line utility just doesn't care about these settings and still creates namespace prefixes n1, n2, ... instead of the ...
by alk
Thu Oct 23, 2008 4:24 pm
Forum: Other Issues
Topic: XML instance generator - export problem
Replies: 4
Views: 3902

XML instance generator - export problem

Hi, I just tried the export function of the XML instance generator to save my settings for generating a specific instance file and realised that the created config.xml does not contain the namespace prefixes that I defined. Therefore I fear that the default prefixes are used when calling the generat...
by alk
Mon Aug 04, 2008 2:32 pm
Forum: Other Issues
Topic: Generate Sample XML Files
Replies: 2
Views: 3750

Generate Sample XML Files

Hi,

is possible to call the "XML Tools -> Generate Sample XML Files"-functionality from the command line while supplying an XML file that defines the options for the sample data generation or is there another possibiliy to do this in an automated way???

Cheers
- Alex
by alk
Mon Aug 04, 2008 12:27 pm
Forum: XSLT and FOP
Topic: Validate XPath on variable
Replies: 0
Views: 3516

Validate XPath on variable

Hi, can anybody tell me if something like the following is possible? I'm reading the content of an XML-file into a variable and would like to validate if an XPath expression which is defined in the context actually matches a node within the variable's temporary tree. <xsl:template name="Validat...
by alk
Wed May 24, 2006 4:48 pm
Forum: XSLT and FOP
Topic: Removing all blanks from a string
Replies: 3
Views: 6499

Hi George,

what can I say? Hail to the king! Thanks a lot for this damned fast answer... and it works... as always!

Just one thing. Do you have any idea what's causing my error message? Pure curiosity...

Best Regards
- alex
by alk
Wed May 24, 2006 4:10 pm
Forum: XSLT and FOP
Topic: Removing all blanks from a string
Replies: 3
Views: 6499

Removing all blanks from a string

Hi there, maybe I'm thinking much to complicated, but all I want to do is to remove all blanks from a string and assign the result to variable. In an act of desperation I created the following function: <xsl:function name="str:strip-blanks" as="xs:string"> <xsl:param name="m...
by alk
Fri Mar 17, 2006 4:05 pm
Forum: XML Schemas
Topic: default value of attribute depends on attribute of parent
Replies: 7
Views: 16594

Hi George,

thanks again for putting quite some effort into your answer.

Best Regards
- Alex
by alk
Fri Mar 17, 2006 3:28 pm
Forum: XML Schemas
Topic: default value of attribute depends on attribute of parent
Replies: 7
Views: 16594

Hi, in addition to this I'm having another question: I have an element that shall express a value either as a certain date or a date interval, e.g <Arrival Date="" From="" Until=""/>, so either Date or From and Until have to be set, but not all of them. Is there a possi...
by alk
Fri Mar 17, 2006 3:19 pm
Forum: General XML Questions
Topic: Validating multiple XML files
Replies: 8
Views: 15698

... which would cost me some money. Thanks anyway for your help.

Cheers
- Alex
by alk
Thu Mar 16, 2006 5:49 pm
Forum: General XML Questions
Topic: Validating multiple XML files
Replies: 8
Views: 15698

Hi, yes this helps. I show you, what I tried. First there is an XML file with a list of the files and the XSLT file applied to it <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="Example_File_Validation.xslt"?> <FileList xmlns:xsi=...
by alk
Thu Mar 16, 2006 4:43 pm
Forum: General XML Questions
Topic: Validating multiple XML files
Replies: 8
Views: 15698

Hi, actually I just want to validate multiple XML files in one single step, what I can do using the project view tree as you told me. I came up with the use of XSLT only because I thought the document() function would automatically validate each document it opens - which it does not as it seems. So ...
by alk
Thu Mar 16, 2006 4:07 pm
Forum: General XML Questions
Topic: Validating multiple XML files
Replies: 8
Views: 15698

Hi sorin, thanks for your answer. Actually I'm satisfied with selecting the files in the project view and then choosing "Validate selection" - somehow I overlooked the "project"-feature, so thanks for pointing me to it. Still my question remains. Is there a way of validating mult...
by alk
Thu Mar 16, 2006 3:07 pm
Forum: General XML Questions
Topic: Validating multiple XML files
Replies: 8
Views: 15698

Validating multiple XML files

Hi, is there a way of validating multiple XML files in a single step (and I don't mean open them in Oxygen)? I thought it could work with an XSLT-file. If I would define an XML with a list of file names and apply an XSLT to this file that uses the document() function, I thought the files get automat...
by alk
Mon Mar 13, 2006 3:15 pm
Forum: XML Schemas
Topic: Swap attributeGroup in derivation
Replies: 3
Views: 10082

Hi George, thanks for your answer. I found one more solution. It's possible to have the derivation in a separate file by using redefine with the "parent XSD". This way attributes can be left out or added at will. In the end it's not "attribute group swapping", but better than not...
by alk
Wed Mar 01, 2006 12:54 pm
Forum: XML Schemas
Topic: Swap attributeGroup in derivation
Replies: 3
Views: 10082

Swap attributeGroup in derivation

Hi,

is it possible to derive a complexType and in the derivation replace an attributeGroup of the parent by another attributeGroup??? ...oh, and if it is possible, how? TIA!

Regards
- Alex
by alk
Wed Feb 15, 2006 3:08 pm
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Hi George, since my default name space does not use a prefix I had to put the global attribute into a seperate schema definition file with its own namespace. Then I just imported this namespace into my actual schema and used the prefix that I assigned to the new namespace with the global attribute. ...
by alk
Wed Feb 15, 2006 12:10 pm
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Hi George, that's what I feared... I'm giving the global attribute a try, but now the next problem comes up. I've set elementFormDefault=qualified and attributeFormDefault=unqualified. This way the elements must be qualified and the attributes must not be qualified - unless the attribute is declared...
by alk
Wed Feb 15, 2006 9:42 am
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Hi George, sorry to bother you again, but correct me if I'm wrong. Assumed I define a global attribute like this <?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="myTargetNamespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="myTar...
by alk
Tue Feb 14, 2006 2:32 pm
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Yes, I know. Thanks for your efforts. What I would like to do is a redefine of <xs:element> to add the attribute there, but I fear that's not possible - or at least I don't understand how. That would mean add the attribute once and then use it everywhere. Am I nuts???
by alk
Tue Feb 14, 2006 12:03 pm
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Hi George, thanks for your answer. I thought about something like that, but still all the complexTypes and elements would have to use this base type and that requires a lot of adaptation work in a rather longish schema definition file. I gues there is no way to extend the XMLSchema <element> definit...
by alk
Tue Feb 14, 2006 11:05 am
Forum: XML Schemas
Topic: Kind of global attribute
Replies: 10
Views: 14546

Kind of global attribute

Hi, I need the possibility to mark some attributes within an XML file as "unclear", meaning that the person who entered a value is not sure whether the value is correct or not (and no, it's not a matter of validation). So I thought it would be nice to have an additional attribute named unc...
by alk
Thu Feb 02, 2006 11:08 am
Forum: XSLT and FOP
Topic: namespace problem when generating HTML
Replies: 7
Views: 7453

Hi George,

thanks again for the very fast answer and yes now it works!
I thought I had tried without the path information as well, but it didn't work - must have mistaken...

Best regards
- Alex
by alk
Thu Feb 02, 2006 10:22 am
Forum: XSLT and FOP
Topic: namespace problem when generating HTML
Replies: 7
Views: 7453

Hi George, thanks for you answer. The problem is that my namespace has no prefix that I could add. All my XSD stuff has MathML as namespace (xmlns="http://www.w3.org/1998/Math/MathML"). When I remove this from the XML file the transformation works. xpath-default-namespace I had already tri...
by alk
Wed Feb 01, 2006 5:55 pm
Forum: XSLT and FOP
Topic: namespace problem when generating HTML
Replies: 7
Views: 7453

namespace problem when generating HTML

Hi, I'm trying to generate HTML out of an XML doccument - so far, so good. The problem is that the XML document uses a namespace defined in the related XSD. When I remove the namespace information from the XML file the HTML file is generated, otherwise the elements are not recognized and the output ...