Sunday, November 11, 2007

XSLT Resources

Very interesting XSLT resources.

Reference
http://www.zvon.org/xxl/XSLTreference/Output/index.html
http://www.w3schools.com/xsl/xsl_w3celementref.asp

Recursion
http://www.topxml.com/xsltStylesheets/xslt_recursion.asp

Replace
http://www.thescripts.com/forum/thread87419.html

Enjoy.

Saturday, November 10, 2007

Special Characters in QueryString : ASP.NET

If you need include special characters in your url, use HttpUtility.UrlEncode to do it in accurate way.

I read this before:
http://www.velocityreviews.com/forums/t102194-special-characters-in-query-string.html

Useful Learn English Links

Excelent learning resources

If you have grammar questions you may check it here:
Dr. Grammar : Frequenty Asked Quetions
English Grammar (fortunecity.com)

These were tips of my friend Luis G. and last one by Jose A., Thank you guys.
http://www.ego4u.com/
http://www.english108.com/
http://www.englisch-hilfen.de/
http://www.answers.com/
http://www.englishpage.com/
http://www.bbc.co.uk/worldservice/learningenglish/

Enjoy them.

Strange delay in compilation : VS2005

One day, when I working in Team Project and at least 8 projects in it, the compilation delay a lot of time. I did a lot of things, but problem was solved when I remove the references and add them again.

Maybe, Do somebody have another suggestion?

Monday, November 05, 2007

Working with XML Namespaces : NET 2.0

If your Xml document has a default namespace, you can assign prefix, using
XmlNamespaceManager object.
Look it:

Xml Snippet

<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://tempuri.org/" xmlns:dc=http://tempuri.org/1.1/>
<items>
<dc:item>Hello</dc:item>
<dc:item>World</dc:item>
</items>
...

Code Snippet

XmlDocument xdoc = new XmlDocument();
xdoc.Load(@"C:\Bentz\data.xml");
...
XmlNamespaceManager nm = new XmlNamespaceManager(xdoc.NameTable);
nm.AddNamespace("ns", "http://tempuri.org/"); /* Default namespace*/
nm.AddNamespace("dc", "http://tempuri.org/1.1/");
...
//browsing a node
XmlNode xn = xdoc.SelectSingleNode("ns:data/ns:items/dc:item/text()", nm);
...

I read this article before:
http://support.microsoft.com/kb/318545


Good coding.

Language Translation Services

Some approach around Translation Web Service...

Simple and functional example:

http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:281335

Another links

http://www.eggheadcafe.com/articles/20050725.asp

http://www.codeproject.com/cs/webservices/translation.asp

http://www.restlessdelusions.com/projects/services/translate/translate.asmx


Enjoy.

Sunday, November 04, 2007

Google