Hi all.
I have question. I want to add my own namespace to xhtml and validate my document. my docoment like below. I cant write my schema file. I need saple xsd file. Help me please.
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://www.my.net/docs/gml/my"> <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>page title</title> <my:headtag> <my:desc>description</my:desc> <my:sometag description="tag desc" value="tag value"></my:sometag> </my:heaadtag> </head> <body> <div > <div id="ids"> <my:anothertag attr="value"> <div> <my:subanothertag attr="value"></bb:subanothertag></my:anothertag> </div> <my:subanothertag attr="value"></bb:subanothertag> </my:anothertag> </div> </div> </body> </html>


Reply With Quote

Bookmarks