Archive for the ‘Technology’ Category

I was in bad mood and browsing through the web, found an interesting article. It is surprising to know about techies don’t care much about salary. Report also finds that workers care more about perks such as training or flexible schedules than they do about the size of their paycheck. How true it is and at the end of the day, we look how much facilities and convenient we have in our office.

Referenc: http://blogs.zdnet.com/careers/?p=161&tag=nl.e539

This error occurs when you do NOT select the input file in the .net file of schema (.xsd) and you click on test map option of .net.

Scenerio: You are creating the .net biztalk project and schema file.

Please refer screenshots 1 and 2 to rectify the error.

Input instance file name is not specified for schema Cust1.

.net schema - biztalk

2 of .net 

_ServiceCall_Insert.xsd. Search in Google: The instance file name can be
provided in the file properties of the schema in Solution Explorer.

Refer above Screenshots

Make sure Input Instance Filename has xml file selected.

Today I will begin to create the new Biztalk project. If you do not know Biztalk, don’t worry. We will learn later.
How to create new Biztalk Project
Open Visual Studio.net 2003
File NewàBlank Solution
In the Solution Explorer, Rigtht Click, AddàAdd New Project
Select BizTalk Project
On the Project name (IN Solution Explorer) Right click on prjName, AddàAdd New Item
Select Schema. Name it as SchemaTest.xsd
 As you already know, schema is used to define the root and hierarchy for your XML.
Select Root tag on the right side of the SchemaTest.xsd
Press F2 and rename root tag to say “collection”
Add child notes or hierarchy as you need.
This was about creating new schema in .NET Biztalk. I will continue with creating new Maps(bit maps) tomorrow.

XSL is nothing but XML Style Sheets. XSL stands for EXtensible Stylesheet Language.It describes how the XML document should be displayed for your requirement. XSL is a broad term which has following parts:

XSLT – a language for transforming XML documents
XPath – a language for navigating in XML documents
XSL-FO – a language for formatting XML documents

We will not worry much about XPath and XSL-FO. Our focus will be on XSL and XSLT(language for transforming XML documents) XSLT language is much like a scripting, basic understanding of HTML/XHTML, XML is necessary.

  • XSLT is XSL Transformations
  • XSLT is the crucial part of XSL
  • XSLT transforms an XML document into another XML document

XSLT is XSL Transformations

XSLT is used to transform an XML document into another XML document. It can also used to transform XML into either HTML or any kind of file. XSLT does this by transforming each XML element into an (X)HTML element.With XSLT you can add/remove XML elements to or from the output file. With XSLT you can build the business logic and display the data from XML to the users accordingly. For instance, you might want to hide actual cost of the book from the user. This can be done through XSLT.

I have been hearing this word for the time I joined IT. I was wondering what exactly is XML and how does it work.
Now I got a chance to explore more on XML and let me start with basics called what XML stands for. It is nothing but EXtensible Markup Language which is designed to transport and store data. XML files will have .xml extensions and it is very powerful (Probably as powerful as Microsoft Excel).

Please note…XML is not Excel. I am comparing in terms of its robust features. Excel has lot of feature but most users really do not know how to use MS Excel. In a similar way XML is very very powerful!! Developers are now using extensive use of XML files. Some analysts believe at some point in future database will be replaced by all XML.
XML everywhere and that’s what makes Internet and web technologies fast..faster and fastest. Believe me.. XML is very easy to learn. Lets start to learn XML…

  • Basic idea of HTML usage and preferably knowledge of JavaScript is very useful to learn XML.
  • XML is a markup language like HTML and stands for EXtensible Markup Language. It stores data in some specific format. As of now, forget about format.. Basically it stores data like a database and we can decide how we want the data to be stored in XML file. We can think of XML as a database.
  • We can define our own tags. It is similar to creating the columns in a table. We can decide our own tags (or columns in database language)
  • More importantly XML is a W3C Recommendation. I will be posting about what is W3C and why it is important to know W3C.
  • XML stores data, HTML displays the data. We can use any method to display the data from XML to HTML.
    It might be ASP, Java, .NET, Javascript or any other language. This is a very simple example of XML usage. XML does lot of critical things.
  • Typical usage of XML includes B2B, B2C and CRM applications.
  • XML can act as a bridge between two or more independent heterogeneous systems.
  • XML is not based on your software or hardware. It is independent of language you use to develop your application.

Structure of XML Document

<root>
<child> 
        <subchild>.....</subchild>
        <subchild>.....</subchild>
</child> </root> 

Example:
<?xml version=”1.0″ encoding=”ISO-8859-1″?>

<bookStore>
<book category="Personal">
<author>Kiran Naik</author >
<description >My Biography</description> 
<published_date>”07-11-1978”</published_date>
</book>
<book category="Fiction">
<author>Narayan</author >
<description >Henry Potter</description> 
<published_date>”07-11-0001”</published_date>
</book>
</bookStore>
Like this, we can define our own tages like bookStore which is called as parent or root element.
book is element in the document.
author, description, published_date tag are children.
category is the attribute.