hi i would like some help to come up with a function that would display the content of element if (station>=’BBC’….tried -xsl:if test=(“@station =’BBC'”)> with no aveil.
<chanels>
<public>
<programme>
<station>BBC</station>
<sports>soccer</sports>
<news>local</news>
<studio>london</studio>
<drama>british Got talent</drama>
</programme>
<programme>
<station>CNN</station>
<sports>soccer</sports>
<news>local</news>
<studio>new York</studio>
<drama>american circus</drama>
</programme>
<programme>
<station>FOX8</station>
<sports>soccer</sports>
<news>local</news>
<studio>Florida</studio>
<drama>ET</drama>
</programme>
</public>
</chanels>
the ‘@’ is only used for referencing attributes of nodes. You need to use something like this: