blank (983)


Is it “bad practice” to be sensitive to linebreaks in XML documents?

Is it “bad practice” to be sensitive to linebreaks in XML documents?

I'm generating some XML documents and when it comes to the address part I have fragments that look like this:<Address>15 Sample St Example Bay Some Country</Address> The XSLT that I have for convert…


automation - Piping password to smbpasswd

How can I pipe the new password to smbpasswd so I can automate my installation process.…


SQLServer Get Results Where Value Is Null

I have a sql server database that I am querying and I only want to get the information when a specific row is null. I used a where statement such as: WHERE database.foobar=NULL and it does not retu…


How do I check if a SQL Server text column is empty?

I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty. Trying to compare against '' yields this…


c# - How to do a simple mail merge in OpenOffice

I need to do a simple mail merge in OpenOffice using C++, VBScript, VB.Net or C# via OLE or native API. Are there any good examples available?…


Shell one liner to prepend to a file

This is probably a complex solution. I am looking for a simple operator like ">>", but for prepending. I am afraid it does not exist. I'll have to do something like mv myfile tmp cat myheader tmp…


CSS to make an empty cell's border appear?

What CSS should I use to make a cell's border appear even if the cell is empty? IE 7 specifically.…



Is there a Windows Registry “dictionary” that explains the whole(or most of) the Windows Registry?

I'd like to be able to see what registry keys are used for. A book on the registry would be fine as well. Info on Windows Vista changes would be great!…


Java Compilation-Is there a way to tell the compiler to ignore parts of my code?

I maintain a Java Swing application. For backwards compatibility with java 5(for Apple machines), we maintain two codebases, 1 using features from Java 6, another without those features. The code is…


ColdFusion mail queue stops processing

Our CF server occasionally stops processing mail. This is problematic, as many of our clients depend on it. We found suggestions online that mention zero-byte files in the undeliverable folder, so…




how empty not remove with value null from line string