Why not? Of course you can! Use this two chapters:
http://symfony.com/doc/current/components/config/definition.html
http://symfony.com/doc/current/components/dependency_injection/parameters.html
Also, notate that you need use config value, not parameter, but in xml you use it as a parameter.