[Home] [By Thread] [By Date] [Recent Entries]

  • To: "'Bullard, Claude L (Len)'" <len.bullard@i...>, xml-dev@l...
  • Subject: RE: XML Data Modellling/Linking (was RE: Afte r XQuery, are we done?)
  • From: "DuCharme, Bob (LNG-CHO)" <bob.ducharme@l...>
  • Date: Fri, 22 Oct 2004 12:57:18 -0400

Len Bullard wrote:
>So you want to go from this
><myElement oncontextmenu="doPopup(); return false;">Something</myelement>
> (snip)
>to
> (some CSS)
>
>
><popup class="mylinktype" >
>  <item>MyItem</item>
>  <item>MyItem</item>
></popup>
>or something similar?

I wouldn't even want to store it as a "popup" element. Pop-ups are device
specific; many devices can't do it. Here's a more semantic example inspired
by RFCs. Imagine that internally the IETF stores this:

  <obsoletes>
   <rfc num="1111"/> <!-- or however they choose to reference another RFC
-->
   <rfc num="2222"/>
   <rfc num="3333"/>
  </obsoletes>

Then, they convert it to something like what you showed originally with one
stylesheet for web delivery, a sidebar with background shading for print
delivery with another stylesheet, etc. 

Bob

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member