Display XML diferent in JSF (using XSLT or some another suggestion)
- by Milan
Hello everybody!
At runtime I receive xml document and I want to display it somehow different in JSF. For example:
This:
<invoker.ArrayOfDictionary>
<dictionary>
<invoker.Dictionary>
<id>gcide</id>
<name>The Collaborative International Dictionary of English v.0.48</name>
</invoker.Dictionary>
<invoker.Dictionary>
<id>wn</id>
<name>WordNet (r) 2.0</name>
</invoker.Dictionary>
<invoker.Dictionary>
<id>moby-thes</id>
<name>Moby Thesaurus II by Grady Ward, 1.0</name>
</invoker.Dictionary>
in this:
invoker.ArrayOfDictionary:
dictionary:
invoker.Dictionary:
id:gcide
name:The Collaborative International Dictionary of English v.0.48
invoker.Dictionary:
id:wn
name:WordNet (r) 2.0
invoker.Dictionary:
id:moby-thes
name:Moby Thesaurus II by Grady Ward, 1.0
I was thinking to do this with XSLT transformation. Some guidelines how to start with xslt?
Or maybe you have another idea for this?