It was really easy! I didn't remember that DRI is converted by xsl's Thank you very much Peter German
2011/4/8 Peter Dietz <[email protected]>: > Hi Germán, > > Look in dspace-xmlui-wing, and you'll see a signature for: > Xref(WingContext context, String target, String rend, String name) > > There is confusion there because target gets mapped to a:href. Another > nothing gets mapped to a:target. > You could extend that by making an additional signature like: > Xref(WingContext context, String target, String rend, String name, > String window_target) > > Then customizing the xsl in structural.xsl to handle the window_target. > > Or, if you're just looking for a one-off hack. You could create an > Xref, and set the rend="_blank". > Then customize the xsl in structural to something like: > https://gist.github.com/910388/59fc665d4743bc16d9c261ad424fcb24ec4e99f1 > where it will check each xref to see if its rend has _blank in it. > When it matches it sets the a:target to _blank. > > Peter Dietz > > > > On Fri, Apr 8, 2011 at 11:26 AM, Germán Biozzoli > <[email protected]> wrote: >> >> Hi everybody >> >> I need to put a target=_blank inside a link from news_xmlui, but xref >> in DRI schema has already a target attribute refered to the >> destination of the link, anybody knows if is there a way to put a link >> that opens a new window in XMLUI home message? >> >> Thanks in advance >> German >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

