Forum Moderators: open
that html validator can validate?If <xml> is not in the specification you're validating against, it is invalid. By definition. So your options are to
1) output only those elements permitted in your DOCTYPE, meaning the data island features will probably need to be pushed back onto the server side.
2) ignore validation, at least for this tag. Then you can use Javascript to emulate XML data island behavior
[builder.com.com...]
[mozilla.org...]
3) use XHTML 1.1 and write a module which allows the <xml> element. There's a lot more to XHTML 1.1 than tag syntax, however (it's almost always used incorrectly at the moment).