GREAT - that did the job, thx!
it can be coded a bit tighter though - for those interested:
if (myXmlDocument.DocumentElement.Attributes["xmlns:ns1"] == null)
{
myXmlDocument.DocumentElement.SetAttribute("xmlns:ns1", "uri1");
}
i'm creating an XmlDocument using c#. the code looks about like this:
myXmlElement = XmlDocument.CreateElement("prefix", "name", "uri");
ParentElement.AppendChild(myXmlElement);
the xml structure is supposed to look about like this:
<root xmlns:ns1="uri1" xmlns:ns2="uri2" xmlns:ns3="uri3">...
found a solution that works for me - don't think it will interest anybody but i'll post it here anyway in case anyone faces the same kind of problem i did it might give you at least some input.
the idea is still the same: to use a temporary table. but the trick is to only insert the rowid and...
i need to show a datagrid in a webapp that allows paging & sorting. it's supposed to show only 10 records at a time and the total number of records in the footer. i'm using MS SQL Server 2005.
to accomplish that i made a complex select-statement that 1. finds all the records matching some...
i changed the loading procedure from "CreateInstanceFrom" (where i can specify a filepath) to "CreateInstance" (where the assemblies must reside in the web applications bin folder). this works now - but i'm still wondering what the other problem is. so if you got any ideas, they're still welcome...
hi
i have a web application and i need to dynamically load assemblies into that application. in order to not have my assemblies locked i enabled the shadowcopy-feature (or more precisely: i added the path of the assemblies to the shadowcopypath since shadowcopying is by default enabled for...
1. append the javascript to your page upon postback.
2. call the javascript in the pages onload-event (or use the pages registerscript-function or whatever similar instead).
hi
i created a setup project for a windowsservice which contains a projectinstaller class. to that class i added an eventloginstaller to setup my custom eventlog (this is all following the msdn instructions). the problem i'm encountering is that the serviceinstaller sets up a (standard) eventlog...
i understand that a byte array containing information encoded in unicode can (obviously!) not be decoded using, for example, ascii; the result is data "garbage". what i don't understand is why even a temporary conversion fails, or in other words, why the data "garbage" can not be reconverted...
hi
some fool put the ntfs-security on the webserver to everyone/full access for ALL directories (!). i changed that back to administrators/full, system/full and users/read.
i then set everyone/full to c-root (only) and the temp folder, and everyone/read to all directories inside the wwwroot...
hi
i usually make tooltips like this:
<SPAN title="Tooltip">some text</SPAN>
that works fine; but now i got a tooltip where i would like to insert a new line, for example:
<SPAN title="Tooltip1<BR>Tooltip2">some text</SPAN>
Unfortunately that doesn't work, since Tags are...
Hi
just wanted to say 'thank you' to all who helped me out when i had a problem developing my flash-application. it's finished (for now) and here's the link to it:
www.tungiasis.net
the site is about a cd i recently released with a friend. its in german but you should get the idea anyway.
btw...
i reviewed the problem after a 15min break and immediately saw that there was an error in the asp-page (before responding the vars); should have taken the break earlier...
sorry and thanks anyway.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.