[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: So maybe ID isn't a problem after all.
>[Tim Bray] >It seems to me that the *right* solution is that any >interface to an XPointer/XPath implementation needs to have >an argument whereby you pass in internal knowledge of what, >in the target document, the ID attributes are. Because > >(a you'll typically have such knowledge, and >(b) such an override/input could be damn useful in lots of > application scenarios anyhow. The implementation of XML hypertext in Opera 5 via CSS2 takes this approach. For example. I have XML containing: <xref href="some URI>See here</xref> The relevant part of the CSS2 stylesheet looks like this: xref { text-decoration:underline; set-link-source:attr(href); use-link-source:current; } The downside is that CSS2 drives right up against the vertical wall of expressive power very quickly. <sigh/>. How long will it take the W3C to stick a REC on Python and just be done with it :-) Sean
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|