xml - XSLT Select using or? -
i wondering "|" in apply template mean in xslt.
<input type="{@type}" id="{@id}" name="{$calculatedname}" class="input-small" > <xsl:apply-templates select="displayoption1 | displayoptions2"/> </input>
i thinking pick 1 or other not. applied both. if "|" not represent or (bitwise) here mean? small snippet of xml
<datafield type="dropdown" id="65" name="propertystatus"> <displayoptions1 column="1" /> <displayoptions2 displayname="status:" lookuptype="propertystatus" readonly="false" required="true" visibilty="true" /> </datafield>
the pipe used combine 2 expressions one, union of two.
Comments
Post a Comment