DRI does have a "rend" attribute for "p" elements that is " A rendering hint used to override the default display of the element" and this is used in CSS files to link a style to a class attribute.
Hope this helps. Ben ------------------------------------------------------------------ Dr Ben Ryan Jorum Technical Coordinator (Services) 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: [email protected] ------------------------------------------------------------------ -----Original Message----- From: helix84 [mailto:[email protected]] Sent: 20 July 2012 20:24 To: Jose Blanco Cc: Dspace-Tech Subject: Re: [Dspace-tech] question about a div and a class I'm not sure if it's possible from Java. Certainly it's not designed that way, DRI shouldn't have the concept of classes - it's not HTML. I'd just do that from XSL. If you really want to do that from Java, maybe I overlooked something, you can look at: http://grepcode.com/file/repo1.maven.org/maven2/org.dspace/dspace-xmlui-wing/1.7.1/org/dspace/app/xmlui/wing/element/Para.java and at sample code in dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/xmltest/ 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

