Sample XML schema for rich text / limited HTML

This should cover W3C XML Schema, Relax NG and DTD related problems.
yann1806
Posts: 22
Joined: Fri Aug 09, 2013 11:03 am

Sample XML schema for rich text / limited HTML

Post by yann1806 »

Hi guys,

I'm wondering if there is somewhere in Oxygen a sample XSD that would allow very simplified HTML (e.g. bold, italics, bullet lists), that I could use inside my own elements. I'd like to have documents that look like:

<my_title_tag>This word is <b>bold</b></my_title_tag>
<my_body_tag>a list: <ul><li>this element <em>in italics</em></li></ul></my_body_tag>

I'm pretty sure there are examples like that that come with Oxygen?

Thanks for any pointers.

Yann
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Sample XML schema for rich text / limited HTML

Post by adrian »

Hi,

There is no schema for a simplified form of HTML/XHTML in Oxygen and no similar samples that I can think of. You're probably thinking about embedded HTML documentation or HTML content completion in XSLT. But those Oxygen mechanisms simply use a full XHTML schema for content completion.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply