The following features have been added to Smooks v0.6
- Support for uatarget AND and NOT expressions. Now we can create compound expressions of the form "html4 AND not:xforms" for targeting transformations at XML.
- Added CSSRule media and device name/profile cross-ref support to CssAccessor.getProperty. This ensures that the rule returned by CssAccessor.getProperty is targeted at the device - it checks the rules media list against the browsers name and profileset.
- Added XML namespace support. Can now target transformations at XML elements from a specific namespace. Pre v0.6 only matched the element local name.
- Added BeanShell Scripting transformation unit. This allows transformations to be inlined in the .cdrl config files. Note: BeanShell Scripting (as we've implemented it) appears to be poor in terms of performance. There may be a solution to this.
- Added a number of XML DOM utilities to DOMUtils.
- Added ability to use HTTP "Accept" header media types as a profiles in the form "accept:html/text". This includes using the Accept header media type "q-value" parameter as part of the cdres specificity calculation (for ordering resources - see HttpAcceptHeaderProfile, CDRDef and CDRDefSortComparator).
Labels