W3C home > Mailing lists > Public > www-html@w3.org > July 2003

Using XML to create a compound element

From: mmuguira <mmuguira@cox.net>
Date: Fri, 1 Aug 2003 00:06:04 -0500
Message-ID: <000801c357ea$9bf081e0$77770b44@c212173a>
To: <www-html@w3.org>
I've been looking for a while now on how to do this, and the closest I've seen to it is defining a new html element in the dtd using xml. I want to define an element, that is essentially only a compound element, essentially doing what I could do with a stylesheet, but I want to do it in place on an html page. For example I would like to define an element "myhead" which would essentially be

  <xsl:template match="myhead">
      <title ... / >
      <meta ... / >
      <meta ... / >

Can I do this without calling an applet or an active x object.

Nicholas Muguira
Received on Thursday, 31 July 2003 22:34:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:04 UTC