[Standards] References and XHTML-IM interoperability
tmarkmann at googlemail.com
Fri Dec 2 12:00:06 UTC 2016
XEP-0372  provides a way to link parts of a plain-text XMPP message to
related content, either via a URL or XML content inline of the reference
People are going to want at least some rich text support in their messages,
simple stuff like bold/italics/underline, or lists, etc. As XHTML-IM 
has currently the widest adoption as a solution for rich text among XMPP
clients, it'll help if References were to support XHTML-IM.
XHTML-IM, or HTML for that matter, traditional way to reference stuff is
via URL in combination with <img src="..."/> or <a href="..."/>.
One approach would be requiring IDs on the tags you want to reference. This
way the reference tag could simple refer to that ID, which naturally would
Another would be XPath or XPointer to have the reference tag refer to the
element from the root of the top-level-stanza.
What do you think would be the ideal solution here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Standards