Advantage XPath Evaluation over XSLT



I'm currently programming an application that uses WPF. Therefore i'm planning to load the GUI dynamically via XAML based upon a given XML.


As i see it i have two choices:


1) Evaluate XML by myself with xpath and create GUI elements by myself.


-or-


2) Generate XAML through a XSLT transformation and load that file.


So the question is, which way is more suitable? Or isn't the difference that big so it's just a question which way i prefer more?


Thanks in advance! :)


No comments:

Post a Comment