When I make up my own random tag (ex. <poopy>) and use it in a standard html file, the webbrowser does not know what to do with it so it is naturally ignored.
When I do this, can I also link in an xml stylesheet, in xslt, to tell the webbrowser how to treat the new tag.
I am not creating an xml file, persay. I am creating a new html tag to be used amongst other html tags. I simply need to define what the new tag needs to do.
Anotherwords... my html will look like this...
<html>
<head></head>
<body>
<img src=http://www.webdeveloper.com/forum/archive/index.php/"">
<RandomNewTag>
Hello World
</RandomNewTag>
</body>
</html>
and I have an xsl file that says something like....
<xsl:template match="RandomNewTag">
<table border="2">
<tr>
<td>
<xsl:value-of select="/" />
</td>
</tr>
</table>
</xsl:template>
My objective is to create and define the function of a brand new tag. Anyone can create a new tag to use in an html document, but unless that browser knows what to do with it then the tag will simply be ignored.
Is there a way of doing this? Reminder, I am not trying to create an xml file in the normal sense of the word. Simply, I am adding new tags to my html with their own predefined functions for sake of my own ease of design and coding.
When I do this, can I also link in an xml stylesheet, in xslt, to tell the webbrowser how to treat the new tag.
I am not creating an xml file, persay. I am creating a new html tag to be used amongst other html tags. I simply need to define what the new tag needs to do.
Anotherwords... my html will look like this...
<html>
<head></head>
<body>
<img src=http://www.webdeveloper.com/forum/archive/index.php/"">
<RandomNewTag>
Hello World
</RandomNewTag>
</body>
</html>
and I have an xsl file that says something like....
<xsl:template match="RandomNewTag">
<table border="2">
<tr>
<td>
<xsl:value-of select="/" />
</td>
</tr>
</table>
</xsl:template>
My objective is to create and define the function of a brand new tag. Anyone can create a new tag to use in an html document, but unless that browser knows what to do with it then the tag will simply be ignored.
Is there a way of doing this? Reminder, I am not trying to create an xml file in the normal sense of the word. Simply, I am adding new tags to my html with their own predefined functions for sake of my own ease of design and coding.