473,388 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

PLease explain XMLDocument use ???

dear all,

I have benn going through a .net possibility such as amanging XMLDocument
and xml transmorf function.
In that set of features I am really swimming deep under the water, I have
nearly no more heirs. In fact I do not know the real benefit of using those
XMLDocument or XLS transformation files.

In that my problem is that I do not really see when this can of feature can
be use, and the real benefit of those, concrete examples.

For me at a first step xml format was for being able to read the same file
either from a windows application or web browser, but if you open a xml file
with browsser sure it open it but as raw data, so wht is the need.

I really need some real light to help me understand this XML approah and
real application case to make me understand better when to use them

Thnaks a lor for you help
regards
Serge
Jul 21 '05 #1
5 1423
Hi Serge,

One of the reasons I use XML for relational databases, is that you don't
have to pay for any licenses, and you can share and manipulate the data
across disparate platforms such as UNIX, Linux, Windows.

With Sun Microsystems servers and the latest UNIX XML parsers, you can
get extreme performance with block-level full-text indexing. Add PERL to
the mix with inverted tree capabilities, and you are blasting your way
to the future. By using XML, you would also be geared up for
server->server communications with other businesses.

serge calderara wrote:
dear all,

I have benn going through a .net possibility such as amanging XMLDocument
and xml transmorf function.
In that set of features I am really swimming deep under the water, I have
nearly no more heirs. In fact I do not know the real benefit of using those
XMLDocument or XLS transformation files.

In that my problem is that I do not really see when this can of feature can
be use, and the real benefit of those, concrete examples.

For me at a first step xml format was for being able to read the same file
either from a windows application or web browser, but if you open a xml file
with browsser sure it open it but as raw data, so wht is the need.

I really need some real light to help me understand this XML approah and
real application case to make me understand better when to use them

Thnaks a lor for you help
regards
Serge

--
Gerry Hickman (London UK)
Jul 21 '05 #2
XML shines when sending data between different systems, working with data
from customers, vendors, etc. We have created XML files that are cached for
static data....I have seen some work done where pages were rendered from XML
via XSLT and to me it's a nightmare.

Does anyone use XML/XSLT to render web pages?
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:93**********************************@microsof t.com...
dear all,

I have benn going through a .net possibility such as amanging XMLDocument
and xml transmorf function.
In that set of features I am really swimming deep under the water, I have
nearly no more heirs. In fact I do not know the real benefit of using those XMLDocument or XLS transformation files.

In that my problem is that I do not really see when this can of feature can be use, and the real benefit of those, concrete examples.

For me at a first step xml format was for being able to read the same file
either from a windows application or web browser, but if you open a xml file with browsser sure it open it but as raw data, so wht is the need.

I really need some real light to help me understand this XML approah and
real application case to make me understand better when to use them

Thnaks a lor for you help
regards
Serge

Jul 21 '05 #3
serge calderara wrote:
I really need some real light to help me understand this XML approah and
real application case to make me understand better when to use them

To exchange documents in an environment where neither side wants to
depend on the technology the other party uses you need a common language
in which to write these documents. XML is the defacto standard-language.

XML is a flexible way to create common information formats and share
both the format and the data. Because data is represented as plain text
in XML documents virtually any computer system can parse XML documents
and use the data. XML is therefore the preferred data format most of the
time.

XSL or XSLT is used to transform an XML document to another document
structure. The transformation target is usually plain text, HTML code or
another XML schema. Although XSLT can be difficult to understand at
first, it is an immensely powerful tool. If you need to convert an XML
document to another format, for example when integrating disparate
systems, or you want to present XML data in an HTML page, XSLT is often
perfect technology to use.

Anders Norås
http://dotnetjunkies.com/weblog/anoras/
Jul 21 '05 #4
Hi Serge,

First off, you may want to read up on Service Oriented Architecture.
Here's a link to one of Pat Helland's recent articles
http://msdn.microsoft.com/library/de...sideinside.asp

XML is useful if you need to communicate complicated data in a standardized
way.

It is best used when communicating from system to system, as some of the
other responders have implied.
Since I can create a schema that defines the RULES that a valid XML document
must follow, I can pass a schema to my trading partner, and they can write
software that will meet the schema, and I can commit to them that I can
accept the data they write. This is a Dramatic improvement over current
practice when integrating systems.

That said, I've also used XML as a mechanism to store "semi-structured"
data. This is data that, from the standpoint of the storage system, is
essentially a BLOB, but has a structure. For example, if I have a wide
range of XML documents stored in SQL Server 2005 (Yukon), I can store the
documents into an XML field and query on the data in a very flexible manner.
I could have 10 rows in an inventory table, where the first five rows store
data about computers, and the next five rows store data about monitors. The
XML structure can be defined so that there are common elements dealing with
inventory tags and locations, and embedded elements dealing with resolution
(for monitors) or CPUs (for computers). I can issue a single XQuery against
this table and retrieve all the inventory tags, and another XQuery against
the table and retrieve all the CPU information for the rows that deal with
computers.

This ability to store semi-structured data is very powerful in many ways.

I also use XSLT to transform XML documents into other formats, although I'm
not well versed in the XSLT language (I use tools mostly). For example, I
have a workflow system that manages any number of different workflow
documents. Each document type comes with an XSLT that allows my GUI to
display information about the workflow item without my GUI needing to know
anything about the structure and format of the workflow document itself
(another example of semi-structured data).

XML is not a silver bullet. It doesn't solve every problem. However, it is
a very useful technology to add to your tool belt.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:93**********************************@microsof t.com...
dear all,

I have benn going through a .net possibility such as amanging XMLDocument
and xml transmorf function.
In that set of features I am really swimming deep under the water, I have
nearly no more heirs. In fact I do not know the real benefit of using those XMLDocument or XLS transformation files.

In that my problem is that I do not really see when this can of feature can be use, and the real benefit of those, concrete examples.

For me at a first step xml format was for being able to read the same file
either from a windows application or web browser, but if you open a xml file with browsser sure it open it but as raw data, so wht is the need.

I really need some real light to help me understand this XML approah and
real application case to make me understand better when to use them

Thnaks a lor for you help
regards
Serge

Jul 21 '05 #5
Hi Nick,
That said, I've also used XML as a mechanism to store "semi-structured"
data.


That's a good point that I forgot to mention. With traditional database
tables you tend to be constrained into columns, but with XML you can
have really natural and varied data structures. It's a bit like using
pen and paper where you can slot things in where it makes most sense
instead of having to conform to what the database is telling you.

--
Gerry Hickman (London UK)
Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aliandro | last post by:
Hi I am really stuck and need some expertise help please. I have an XML file: <XML> <USER_INFO> <USERNAME>username</USERNAME> <PASSWORD>password%</PASSWORD> </USER_INFO> <SITE_INFO>...
5
by: KathyB | last post by:
If someone could just explain this to me...I just don't get it! I have an aspx page where I retrieve several session variables and use xmlDocument to transform xml file with xsl file into an...
1
by: Martin Honnen | last post by:
With both .NET 1.0 and 1.1 I have found the following strange behaviour where System.Xml.XmlDocument.LoadXml doesn't throw an error when parsing a text node with a character reference to an invalid...
2
by: Arthur Dzhelali | last post by:
I have a two xml files schema is identical. When I read file into dataset and then bind dataset to the form. These are weather files we are getting from weather service. One file has only...
6
by: Tiraman | last post by:
Hi , I have a stored procedure which return an xml by using the (for xml auto/explicit) which working fine under the Query Analyzer . and i would like to build simple function that get the sp...
1
by: Chua Wen Ching | last post by:
Hi there, I have some problems when reading XML file. 1. First this, is what i did, cause i can't seem to read "sub elements or tags" values, so i place those values into attributes like this....
5
by: serge calderara | last post by:
dear all, I have benn going through a .net possibility such as amanging XMLDocument and xml transmorf function. In that set of features I am really swimming deep under the water, I have nearly...
1
by: shapper | last post by:
Hello, For the past hours I have been trying to solve a problem which is driving me crazy. I have to different codes where the problem to solve is the same: CODE 1 (Transforms a XML...
3
by: shapper | last post by:
Hello, In have a class inside a compiled DLL where I have the following code: ' Create site map XML document Dim siteMap As XmlDocument = New XmlDocument ' Load site map XML document from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.