CsQuery
CsQuery copied to clipboard
Problem with xinclude xmlns
I have documents which use XInclude for including SVG images. My opening HTML tag looks like:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
It ends up getting rendered as:
<html xmlns="http://www.w3.org/1999/xhtml">
This causes the images to not be included.
I was able to force it back in using the following, so I'm not sure why it got removed in the first place.
html["html"].AttrSet("{ 'xmlns:xi': 'http://www.w3.org/2001/XInclude' }");