Graphity/graphity-core — Issue #8: From XSLTView to XSLTBuilder
Author: pumba-lt
Created: 2011-11-23 22:46:19+00:00
State: open

This will allow to get rid of the whole View class hierarchy and write compact code like this:
```if ($resource->isModified()) {
fwrite($this->getWriter(),
XSLTBuilder::fromStylesheetURI(ROOTDIR . "/src/main/webapp/WEB-INF/xsl/RSSView.xsl")->
document($this->doc)->
parameter("", "uri", $resource->getURI())->
parameter("", "base-uri", $resource->getBaseURI())->
parameter("", "view", Model\HeltNormalt::NS . get_class($this))->
parameter("", "php-os", php_uname("s"))->
build()->
saveXML());
```