Archive for the Category soft

 
 

Editing Xml Schema

Xml schema is used when xml based communication is needed between different systems, the xml schema is used to describe the structure of an xml document.  In this tutorial, I will demonstrate how to edit an xml schema using Liquid XML Studio.
Working with Liquid XML Studio is very straightforward because of its design view feature which is user friendly, and very easy to use.
For this I am using Simple Book Store Project which has some default values, the output looks like this:

img1

The Schema Looks Like this :

img2

Now if Another Column is to be added (Distributor), you need to change the xml schema to make your xml document valid. Using Liquid Xml Studio, we can open the schema document, in the design view of the xml schema you can see the structure of xml document there you can do your changes by editing the nodes . To add another node you, follow below steps.

  • Right Click on the Schema Root
  • Select Add Child
  • Child Type is Complex Type in the Design view part of Liquid Xml Studio

img3

Name it as Distributor.

Distributor can have several attributes as distributor name, distributor city etc.

Let’s create few of them.

Let’s say the full name is coming from 2 different columns in the database so you can combine them in one node by using sequence which will concat the values and display it one string. Sequence can be used for other data types also.

To create a sequence you can use same procedure .Right Click on the node on which you need to create child sequence and under “Add Child” select sequence.

Now add child elements to the sequence like Distributor Name, Distributor Organization Name

After adding few fields it looks like this:

img5

Lets make Some changes in XSLT file so that it can be shown in the html page.

img6

And Html Page with some dummy values look like this:

img7

So by doing all the changes in xml schema we get this output:

img8

So by using Liquid XML Studio you can edit the XML schema and change the structure of the XML Document used in any communications.

XPath Visualizer

 

XPath Visualizer is a simple tool, that lets you execute a XPath query and see the results. The .Net 3.5 is required to use the tool .

XPathVisualizer-v1.2

Features:

  • Load the XML document from a filesystem file, from an HTTP URL, type it in, or paste (Ctrl-V).
  • Automatically detect and display the XML namespaces in use, in the document, including those with and without explicit prefixes
  • XPath query validation.
  • Remembers 10 most-recently used XPath queries.
  • automatically inject the default xml namespace into query expressions
  • visualize the XPath query execution results on the XML document
  • Easy scroll through the matched nodes of an XPath query
  • strip XML namespaces from any document
  • Remove matched nodes in the document
  • Reindent or reformat XML
  • After modifying the XML in any way, you can save the modified XML document to a new file

Download XPath Visualizer (Codeplex)

The .NET Show: SQL Server 2005

Tom Rizzo and James Hamilton discuss capabilities and specific features of SQL Server 2005 that allow programmers, as well as database developers, to create better database-oriented solutions.

The .NET Show: SQL Server 2005

[ Via VinceX.NET's Weblog ]

Freeware Disk Defragmenter

It works with any OS-supported file system* on any OS-supported writable media. It will only work on Windows XP and Windows Server 2003. This program will not work on any other line of Windows (9x, Win 3.1, etc).

Features:

  • Can be run by any user (service needs to be installed by an administrator).
  • Complete whole-disk defragging, including private operating system files.
  • Multiple instances can be run simultaneously (if you have multiple disks).
  • Individual file defragging, with wildcards and recursion. This mode is an opportunistic defragger, marginally better than Diskeeper in that it will at least defrag the file as best it can rather than not at all.
  • Defrags NTFS, FAT** and FAT32** filesystems on any media (HD, ZipTM/JazTM, Floppy, etc).
  • A "shotgun" mode, where it severely fragments files. Useful for testing or really annoying someone.
  • Individual file fragmentation analysis. Find out where on disk a file resides, and how many fragments it’s in.
  • 100% safe and interruptable. This program doesn’t actually move the files – the OS does it. Even if you suffer a power failure while it’s working, you run no higher risk of file system corruption than you would if you had happened to be saving a file from any application.
  • Boot-time defragmentation.

Download Disk Defragmenter

Community Server 1.0 Released

Community Server 1.0 combines the functionality of forums(based on the ASP.NET forums engine created by Rob Howard), blogs(based on .Text engine created by Scott Watermasysk), and photo gallery(based on nGallery, created by Jason Alexander).

[ Via .net DElirium ]


Page 1 of 3123