Blaine Brodie wrote: > I'm still a little confused about the actual implementation of this. For > example should the Java interface for > LinkStyle be: > > public interface LinkStyle extends ProcessingInstruction > { > public StyleSheet getSheet(); > } > > rather than just: > > public interface LinkStyle > { > public StyleSheet getSheet(); > } No, your Java implementation of the XML style sheet PI must implement ProcessingInstruction and LinkStyle public class StyleSheetProcessingInstruction implements ProcessingInstruction, LinkStyle { ... } LinkStyle is also used by HTMLLinkElement and HTMLStyleElement so it can't extend ProcessingInstruction. Regards, Philippe.Received on Friday, 25 February 2000 10:49:11 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT