How to redefine xHTML schema with new markup



I'm trying to use my own xml markup with xHTML markup. Maybe something like this:



<my:root xmlns:my="myXSD.xsd" xmlns="http://ift.tt/lH0Osb">
<html my:name="myName">
</html>
</my:root>


I have found a (simple) example: http://ift.tt/1xfci5E


But that examples uses local files. I want to use xHTML that already is defined. So i change the simple example to this:



<?xml version="1.0"?>
<xs:schema xmlns:xs="http://ift.tt/tphNwY">
<xs:redefine schemaLocation="http://ift.tt/1xfci5K">

</xs:redefine>
</xs:schema>


Then i get multiple error's:


"can't resolve schemalocation" (When i click on this i go to)


file: xhtml1-strict.xsd



<xs:import namespace="http://ift.tt/1ikcaie"
schemaLocation="http://ift.tt/1wD9lk3"/>


Why do i get this error ? And why do i see HTML and NOT a XSD file when i goto: "http://ift.tt/1wD9lk3" ?


Are there good examples on the internet about this topic ?


Thanx in advance...


No comments:

Post a Comment