I think I got it.  Here is what I have (TEMP-BOGUS is our handle prefix in
dev. ):

      <xsl:variable name='alluris' select="dim:field[@element='identifier'
and @qualifier='uri'][not(contains(.,'TEMP-BOGUS'))]"></xsl:variable>

Thanks!


On Tue, Jun 26, 2012 at 3:22 PM, Jose Blanco <[email protected]> wrote:

> I think in both of these cases the Label will be printed in each line.  I
> want Label only to appear in the 1st line.
>
> I'm thinking of using a variable to contain all the nodes I need, so I
> have this so far ( note that now the example has to do with what I'm
> actually working on )
>
>             <xsl:variable name='alluris'
> select="dim:field[@element='identifier' and
> @qualifier='uri']"></xsl:variable>
>
> But what I really want is for the variable alluris to contain all the uris
> except the handle, so I want to add something like this:
>
> not(contains(./node(),'OUR_HANDLE_PRFIX'))
>
> to the variable, but how do I add that to the to the select in the
> variable declaration (syntax)?
>
> I think once I have a list of things I want to display, I can go from
> there.
>
> Thank you!
> Jose
>
>
>
> On Tue, Jun 26, 2012 at 3:00 PM, helix84 <[email protected]> wrote:
>
>> Here's a template that will do it. It could be simpler, but I tried to
>> make it illustrate the concept. Let me know if there is something you
>> don't understand.
>>
>> <xsl:template match="a">
>>    <xsl:choose>
>>        <xsl:when test=". != '123_abc'">
>>            <xsl:copy-of select="." />
>>        </xsl:when>
>>        <xsl:otherwise>
>>        </xsl:otherwise>
>>    </xsl:choose>
>> </xsl:template>
>>
>> Regards,
>> ~~helix84
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to