Search found 20 matches

by jsb
Mon Dec 26, 2005 11:46 pm
Forum: XML Schemas
Topic: <sequence>, <all>, or <choice>?
Replies: 1
Views: 6697

<sequence>, <all>, or <choice>?

I've defined an element that contains other elements. As far as I am concerned, the contained elements may appear in any order. The ixx, iyy, and izz elements are required and must appear once. The ixz, ixy, and iyz elements are each optional, and may appear once each. The ptmass element may or may ...
by jsb
Sat Dec 17, 2005 3:43 am
Forum: XML Schemas
Topic: Multiple variations of a single entity
Replies: 3
Views: 7568

Hi Jon, What you are trying to do is generally called co-occurrence constraint and it is not supported by the current XML Schema 1.0 language. It is on the todo list for the XML Schema 1.1 and 2.0. Right now your alternatives are: * Use Relax NG * Relax the XML Schema constraint and use Schematron ...
by jsb
Fri Dec 16, 2005 4:38 pm
Forum: XML Schemas
Topic: Multiple variations of a single entity
Replies: 3
Views: 7568

Multiple variations of a single entity

I'm running into trouble trying to figure out how to write a schema for validating an element that can have different appearances, depending on the value of an attribute. I'm not sure it can be done at all. Here's an example of what we can do in our aircraft simulation model file: <component name="R...
by jsb
Wed Dec 14, 2005 5:09 am
Forum: XSLT and FOP
Topic: lower-case function
Replies: 2
Views: 3391

lower-case function

My reading of the string processing functions says there's a lower-case function, but I can't seem to get that recognized by my code. Is that function not yet widely supported?

Jon
by jsb
Tue Dec 13, 2005 3:51 pm
Forum: XSLT and FOP
Topic: Default page font
Replies: 1
Views: 2691

Default page font

How can I get the default font for my transformed XML page to be displayed in Arial font? It seems that some of the items in my page are shown in Times instead. It also seems to depend on which translator is used. The page appears to display as desired in Explorer, but others have shown me that the ...
by jsb
Fri Dec 09, 2005 8:29 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

george wrote:Hi Jon,

I think that this is not something the specification should respond to but rather a security issue with IE. Maybe you should better try an IE related list?

Best Regards,
George
It happens with Mozilla, too.
by jsb
Fri Dec 09, 2005 8:18 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Hi Jon, Yes, I can reproduce the problem with that file... I get: Access is denied. Error processing resource 'http://www.jsbsim.org/JSBSim.xsl'. This may be a security issue because the XML file is on a different domain than the XSL file. Just a guess. Best Regards, George jsbsim.org is the same t...
by jsb
Fri Dec 09, 2005 8:08 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

sorin wrote:Hello,

Both the MSXML 3 and MSXML 4 engines are included in <oXygen/>. Select one of them in the edit scenario dialog (Configure transformation scenario - Edit), the Transformer combo box.

Regards,
Sorin
Thanks. I did that. I actually got the same result in appearance.

Jon
by jsb
Fri Dec 09, 2005 3:05 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Also, note that the IE browser uses another XSLT engine, MSXML 3.0 I think. Try performing the transformation from oXygen selecting the same engine and see what results do you get as they may be different from what Saxon gives you. Best Regards, George How would I use the MSXML engine? I didn't see...
by jsb
Fri Dec 09, 2005 2:36 pm
Forum: XSLT and FOP
Topic: "qbar"
Replies: 4
Views: 5345

Hi Jon, There is such a character, check the link below: http://www.unicode.org/charts/PDF/U0180.pdf Ǭ is Ǭ ǭ is ǭ Best Regards, George That's close, but not quite there. Not sure if I can use it - plus: it didn't show up right in this post, which worries me. I was hoping there was so...
by jsb
Fri Dec 09, 2005 1:47 am
Forum: XSLT and FOP
Topic: "qbar"
Replies: 4
Views: 5345

"qbar"

Is it possible to write a "q" with a bar above it? I've never seen one - I suspect I'll have to do that one via graphic image ...

Jon
by jsb
Thu Dec 08, 2005 7:39 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Hi Jon, I saved the file locally to have an xml extension to it and IE shows something, not really understandable but there are some input fields there and no error message. Best Regards, George Hi, George: Hmm. The download may be giving you something inaccurate. What the URL I gave should lead yo...
by jsb
Thu Dec 08, 2005 5:05 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Hi Jon, (I moved yout topic to the XSLT forum, please note that the XML Schema forum is for XML Schema related questions). If I open your XML document is a browser I can see as result "..." which is probably what I should see as your input does not contain much information. Make sure you can see th...
by jsb
Thu Dec 08, 2005 4:46 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Hi Jon, (I moved yout topic to the XSLT forum, please note that the XML Schema forum is for XML Schema related questions). If I open your XML document is a browser I can see as result "..." which is probably what I should see as your input does not contain much information. Make sure you can see th...
by jsb
Thu Dec 08, 2005 3:34 pm
Forum: XSLT and FOP
Topic: Viewing transformed files in a browser
Replies: 13
Views: 14877

Viewing transformed files in a browser

I can use oXygenXML to transform my .xml document (without error) using my XSL transform file, but I cannot yet download my XML file from the web in IE 6 and have it automatically transform the XML file into the desired HTML file. I've looked into this and I believe I am doing everything I am suppos...
by jsb
Thu Dec 08, 2005 2:58 pm
Forum: XSLT and FOP
Topic: Transforming/Outputting special characters (e.g. alpha)
Replies: 2
Views: 7262

Hi Jon, It is not a different result, it is a difference in how that result is rendered. The output that you get is in both cases encoded in UTF-8 and in the first case the browser renders that as UTF-8 and you see the correct result and in the second case the browser uses some other encoding and y...
by jsb
Thu Dec 08, 2005 4:31 am
Forum: XSLT and FOP
Topic: Transforming/Outputting special characters (e.g. alpha)
Replies: 2
Views: 7262

Transforming/Outputting special characters (e.g. alpha)

I have an XML source file that I transform through an XSL file. When the word "beta-rad" is encountered, I try to replace that with an actual greek beta symbol. I am using this in my xsl file: <xsl:when test="$property_string = 'beta-rad'"> (β<sub>rad</sub>) ... On Windows XP, using Internet E...
by jsb
Sat Dec 03, 2005 5:33 am
Forum: XML Schemas
Topic: How to use <all> in a <group>?
Replies: 3
Views: 11583

george wrote:Hi,

The problem is not in the code you posted but in the part that makes a reference to the group.

Best Regards,
George
So ... what's the right answer?

Jon
by jsb
Sat Nov 26, 2005 10:14 pm
Forum: XML Schemas
Topic: "complex type definition representation error"
Replies: 2
Views: 7969

Fixed

I've fixed this myself. <xs:simpleType name="AreaType"> <xs:restriction base="xs:string"> <xs:enumeration value="M2"/> <xs:enumeration value="FT2"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="PositiveNumber"> <xs:restriction base="xs:double"> <xs:minExclusive value="0"/> </xs:restrictio...
by jsb
Sat Nov 26, 2005 5:20 pm
Forum: XML Schemas
Topic: "complex type definition representation error"
Replies: 2
Views: 7969

"complex type definition representation error"

I am just beginning to work with schemas. I'm having a little trouble authoring a schema. (I'm using the oXygenXML editor, if that matters). If there is a better place for me to post this, please let me know. I have an element in my XML document that looks as follows: <wingarea unit="FT2"> 174.0 </w...