Register here!

Forgot password?

ASK NEW QUESTION

Home Page » Views » Presentation Layer
0 Votes
Vote Con!
Solved!

Presentation Layer

htmlpresentation layerxpathxsl

I would like to know if Yii can generate XSL instead of using Views at the presentation level. We currently have an application (in native PHP) that generates an XML tree that is latter rendered though it’s respective XSL in the client side. We dont want a .php file, but instead a .XSL to be rendered.

Thanks

By tuolden in Views · Asked 532 days 16 hours 43 mins ago

Questions: 25 Accepted: 0 ( 0% ) | Reputation: 0

 

Answers (1)

  1. 1 vote
    Accepted

    You can skip views (just don’t use these), get XML from a model attributes and then apply XSL via something like http://php.net/manual/en/book.xsl.php.

    Overall, Yii have nothing to work with XML/XSL but doesn’t prevent you from doing so.

    By Sam Dark · 531 days 23 hours 15 mins ago

    Questions: 0 Accepted: 0 ( 0% ) | Reputation: 0

© YiiAnswers.com 2011. All rights reserved.

Switch to our mobile site