Laurent R. Therond
Usenet Archive
- Joined
- Oct 22, 2004
- Messages
- 1
- Reaction score
- 0
Hi,
I searched for something like this, but could not locate any information. I may have used bad keywords, or it does not make any sense...
Anyhow, there it goes...
Let's say you overlay an XML document with markup of another namespace, how would you tell a validating parser to ignore elements of that other namespace?
Example:
<!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"> <head> <title> Title </title> </head> <body> <h1> <another-namespace:insert id="0"/> </h1> </body> </html>
Is there any kind of validating parser that could ignore the "another-namespace"-specific markup and simply tell me whether this XHTML document is valid?
Regards,
Laurent
I searched for something like this, but could not locate any information. I may have used bad keywords, or it does not make any sense...
Anyhow, there it goes...
Let's say you overlay an XML document with markup of another namespace, how would you tell a validating parser to ignore elements of that other namespace?
Example:
<!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"> <head> <title> Title </title> </head> <body> <h1> <another-namespace:insert id="0"/> </h1> </body> </html>
Is there any kind of validating parser that could ignore the "another-namespace"-specific markup and simply tell me whether this XHTML document is valid?
Regards,
Laurent