[jdom-interest] [OT] HTML in XML

Phil Weighill-Smith phil.weighill-smith at volantis.com
Thu Apr 22 02:41:25 PDT 2004


Can you not write XHTML instead? A common way around browser
incompatibility between HTML (SGML) and XHTML (XML) is to ensure that
there is a space before the "/>", e.g. "<br>" is written as "<br />".
This works in most browsers.

I'd expect that JDOM has support to force this...

Phil :n.

On Thu, 2004-04-22 at 10:36, Eric VERGNAUD wrote:

> Hi,
> 
> Sorry if this is a little off-topic.
> 
> I need to save nodes for which the text value contais HTML tags like <br>
> Is there an official way to encode "fake" tags as text values in Xml ? What
> is the preferred way for doing this with Jdom ?
> 
> Eric
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-- 
Phil Weighill-Smith <phil.weighill-smith at volantis.com>
Volantis Systems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20040422/a01b8cb7/attachment.htm


More information about the jdom-interest mailing list