[xep-support] XSL expressions

Alexander Peshkov peshkov at renderx.com
Tue Aug 3 00:21:57 PDT 2004


As a follow-up to my previous message a small correction just to make
it clear: you cannot mix percents and absolute values only in the
circumstances when formatter must have layout specific information
beforehand, i.e. when calculating containers widths etc. That is
exactly the case with your code since XEP complains about mixed
expression in specification of inline-progression-dimension (width).

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX



AP> Hello Michael,

AP> You cannot mix up percents and absolute values inside of expressions
AP> in the current version of XEP. This limitation described in our
AP> documentation, see http://xep.xattic.com/xep/doc/spec.html#Expressions

AP> Best regards,
AP> Alexander Peshkov                             mailto:peshkov at renderx.com
AP> RenderX


MS>> Hi,

MS>> I ran into a problem today with XEP 3.8. I have some reasonably complex 
MS>> bits of XSLT that ended up (in one particular, unusual case) producing 
MS>> an expression of the form:

MS>>    "100% - -5.4pt"

MS>> in my XSL file.

MS>> I had a look at the grammar defined in the XSL specification, and as far 
MS>> as I understand it, this is permitted.

MS>> XEP says this, though:

MS>> XEP Warning: Bad attribute inline-progression-dimension: Could not 
MS>> evaluate expression (100.0% - -5.386pt) in attribute 
MS>> inline-progression-dimension.maximum

MS>> I can work around this for the moment, but I'd appreciate anyone a bit 
MS>> more knowledgeable about this stuff letting me know if my original 
MS>> version was legal (i.e. is this an XEP bug?)

MS>> Mike
MS>> -------------------
MS>> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
MS>> in the body of the message to majordomo at renderx.com from the address
MS>> you are subscribed from.
MS>> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list