Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted
I'm having a weird issue. I'm essentially writing a dataset out and transforming it with XSLT. It works perfectly if I delete the namespace declaration on the root element but by default the Dataset includes this even if I put the mode in ignoreschema. Anyone seen this problem before?
--tim
  • Leaders
Posted
It's even worse. For some reason I can't simply remove it through the DOM either, as it is apparently not treated like any other attribute on a node. My workaround is to pull out the outerxml as a string, rip off the namespace declaration with string manipulation and the loadXML with the string. It's not very elegant but it works. I'd still like to know if anyone else has encountered this before?
--tim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...