CsQuery icon indicating copy to clipboard operation
CsQuery copied to clipboard

Problem with xinclude xmlns

Open schmalls opened this issue 10 years ago • 1 comments

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.

schmalls avatar Jan 03 '14 20:01 schmalls

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' }");

schmalls avatar Jan 03 '14 21:01 schmalls