B.1 Production summary

[1] Expr

::=

AdditiveExpr[11]

[2] PrimaryExpr

::=

 '(' Expr[1] ')'   Numeric[5]   Literal[20]   Color[18]   Keyword[24]   EnumerationToken[26]   FunctionCall[3] 

[3] FunctionCall

::=

FunctionName[25] '(' ( Argument[4] ( ',' Argument[4])*)? ')'

[4] Argument

::=

Expr[1]

[5] Numeric

::=

 AbsoluteNumeric[6]  RelativeNumeric[8] 

[6] AbsoluteNumeric

::=

AbsoluteLength[7]

[7] AbsoluteLength

::=

Number[15] AbsoluteUnitName[27]?

[8] RelativeNumeric

::=

 Percent[9]  RelativeLength[10] 

[9] Percent

::=

Number[15] '%'

[10] RelativeLength

::=

Number[15] RelativeUnitName[27]

[11] AdditiveExpr

::=

 MultiplicativeExpr[12]  AdditiveExpr[11] '+' MultiplicativeExpr[12]  AdditiveExpr[11] '-' MultiplicativeExpr[12] 

[12] MultiplicativeExpr

::=

 UnaryExpr[13]  MultiplicativeExpr[12] MultiplyOperator[23] UnaryExpr[13]  MultiplicativeExpr[12] 'div' UnaryExpr[13]  MultiplicativeExpr[12] 'mod' UnaryExpr[13] 

[13] UnaryExpr

::=

 PrimaryExpr[2]  '-' UnaryExpr[13] 

[14] ExprToken

::=

 '('  ')'  '%'  Operator[21]  FunctionName[25]  EnumerationToken[26]  Number[15] 

[15] Number

::=

FloatingPointNumber[16]

[16] FloatingPointNumber

::=

 Digits[17] ('.' Digits[17]?)?  '.' Digits[17] 

[17] Digits

::=

[0-9]+

[18] Color

::=

'#' AlphaOrDigits[19]

[19] AlphaOrDigits

::=

[a-fA-F0-9]+

[20] Literal

::=

 '"' [^"]* '"'  "'" [^']* "'" 

[21] Operator

::=

 OperatorName[22]  MultiplyOperator[23]  '+'  '-' 

[22] OperatorName

::=

'mod' 'div'

[23] MultiplyOperator

::=

'*'

[24] Keyword

::=

'inherit'

[25] FunctionName

::=

NCName(XML Namespaces)

[26] EnumerationToken

::=

NCName(XML Namespaces)

[27] AbsoluteUnitName

::=

'cm' 'mm' 'in' 'pt' 'pc' 'px'

[28] RelativeUnitName

::=

'em'

[29] ExprWhitespace

::=

S(XML)



Definitive XSL-FO
Definitive XSL-FO
ISBN: 0131403745
EAN: 2147483647
Year: 2002
Pages: 99
Authors: G. Ken Holman

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net