[
Lists Home |
Date Index |
Thread Index
]
This sounds like the kinda model / use case to bring to the WHAT WG
(http://www.whatwg.org/) -- not that they'd recommend using arch forms
;-/, but the scenario is so common they would need to take it into
account somehow.
DuCharme, Bob (LNG-CHO) wrote:
> 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
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
--
Ian Graham
H: 416.769.2422 / W: 416.513.5656 / E: <ian . graham AT utoronto . ca>
|