Changes

Jump to: navigation, search

HIP3 xsl

29 bytes added, 15:58, 25 February 2009
no edit summary
Some [[XSL ]] snippets useful in [[Horizon Information Portal 3]].
h2. ==Find a displayed attribute==
On the a full item display, if you know the text of a display field label, you can find the value(s) of that label in the HIP XML. Here, we will store all the values in an XSL variable, seperated by commas if there are more This is a pain because HIP's XML is so display-oriented (rather than onestructurally oriented). The string "DISPLAY_LABEL" below is a stand-in for whatever display label you are looking for.
First we get the index in the diplay order of elements of the display label we want:
<pre>
Not sure what happens if there is more than one matching value, or more than one matching label.
 
[[Category: HIP3]]

Navigation menu