Sample XML schema for rich text / limited HTML

This should cover W3C XML Schema, Relax NG and DTD related problems.
yann1806
Posts: 22

Sample XML schema for rich text / limited HTML

Thu Aug 29, 2013 8:40 am

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: 2443

Re: Sample XML schema for rich text / limited HTML

Thu Aug 29, 2013 5:30 pm

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

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest