RE: [xml-dev] XML Data Modellling/Linking (was RE: [xml-dev] Afte r XQuery, are we done?)

From
DuCharme, Bob (LNG-CHO) <>
To
"'Bullard, Claude L (Len)'" <>,
Date
2004-10-22T16:57:18Z
ID
<>
Thread
RE: [xml-dev] XML Data Modellling/Linking (was RE: [xml-dev] Afte r XQuery, are we done?)
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