Looking for a (pseudo) XSLT preprocessor/templater to make it less verbose [closed]
Does anybody know of a preprocessor for XSLT to make it less verbose? Something like what SASS is to CSS, a little proggy that will take light syntax: "/": { <html> <head> <title>My book collection</title> </head> <body> {@ "//media"} {@ quantity = calc_abs_value("//total_quantity")} Price : {@ multiply(price:"//item[@selected='true'][@price]",qty :$quantity) } </body> </html> } "media[@type='book']": { <div id="{@id}"> {title} by {author} published in {published_date} </div> } function calc_abs_value(value) { if ($value < 0) {- $value} else {$value} } function multiply(price,qty:"1") { switch