XHTML Modularization - hello-world example.

C

C.W.Holeman II

As K&R state the hardest part is getting a first instance to work. So I am
looking for a "hello, world!" example for adding an additional element
to an XHTML file.

<html>
<head><title>Hello, World</title>
<body>
<h1>Hello, World</h1>
<myHello>
<p>My hello.</p>
</myHello>
</body>
</html>

I would like a complete example showing how to extend XHTML to allow the
element myHello to be in an XHTML file with other XHTML elements inside
an myHello element. So what XML Schema file and its contents and any
changes to my example XHTML file above are needed?

http://www.w3.org/TR/xhtml-modularization/
http://www.w3.org/TR/xhtml-modularization/schema_developing.html#s_dev_elems

The above have details covering too much for a simple hello-world example.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top