- Messages
- 371
- Country

Hi,
Excuse me for my bad english, but I am french...
I have decided to adapted au gauge to an aircraft and my knowledge in xml language is very very poor.
I have many diffucult to unsdertand the contionals synthax in xml.
The only language of programming that I have used in past is Visual Basic 6
So, I would like to know how write a multiple condition line :
I am writing for in my Visual basic logic with () for you can understand the result that I expect
If (a=x1 AND B=y1) OR (a=x2 AND b=y2) OR (a=x3 AND b=y3 THEN .....
IF (TOTAL WEIGHT > 66000 AND Flaps Handle Index = 4) OR ( 66000 < TOTAL WEIGHT < 63000 AND Flaps Handle Index = 3 ) OR ( 65000 < TOTAL WEIGHT < 60000 AND Flaps Handle Index = 2 ) THEN
I am probably a stupid boy but I don't find the solution in xml; XML is very "special"
Is this redaction is the right thing ?
<Visibility>(A:TOTAL WEIGHT, kilograms) 66000 >= (A:Flaps Handle Index, number) 4 == && (A:TOTAL WEIGHT, kilograms) 63000 >= (A:TOTAL WEIGHT, kilograms) 66000 < (A:Flaps Handle Index, number) 3 == && (A:TOTAL WEIGHT, kilograms) 60000 >= (A:TOTAL WEIGHT, kilograms) 65000 < (A:Flaps Handle Index, number) 2 == && ||</Visibility>
Excuse me for my bad english, but I am french...
I have decided to adapted au gauge to an aircraft and my knowledge in xml language is very very poor.
I have many diffucult to unsdertand the contionals synthax in xml.
The only language of programming that I have used in past is Visual Basic 6
So, I would like to know how write a multiple condition line :
I am writing for in my Visual basic logic with () for you can understand the result that I expect
If (a=x1 AND B=y1) OR (a=x2 AND b=y2) OR (a=x3 AND b=y3 THEN .....
IF (TOTAL WEIGHT > 66000 AND Flaps Handle Index = 4) OR ( 66000 < TOTAL WEIGHT < 63000 AND Flaps Handle Index = 3 ) OR ( 65000 < TOTAL WEIGHT < 60000 AND Flaps Handle Index = 2 ) THEN
I am probably a stupid boy but I don't find the solution in xml; XML is very "special"
Is this redaction is the right thing ?
<Visibility>(A:TOTAL WEIGHT, kilograms) 66000 >= (A:Flaps Handle Index, number) 4 == && (A:TOTAL WEIGHT, kilograms) 63000 >= (A:TOTAL WEIGHT, kilograms) 66000 < (A:Flaps Handle Index, number) 3 == && (A:TOTAL WEIGHT, kilograms) 60000 >= (A:TOTAL WEIGHT, kilograms) 65000 < (A:Flaps Handle Index, number) 2 == && ||</Visibility>



