IT Community - Software Programming, Web Development and Technical Support

Is XML important?

This is a discussion on Is XML important? within the XML and SOAP forums, part of the Web Development category; The saying among Web heads is that content is king. Unfortunately, too often that content is intimately tied to how ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > XML and SOAP

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-12-2007, 09:22 PM
scheme scheme is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 47
scheme is on a distinguished road
Default Is XML important?

The saying among Web heads is that content is king. Unfortunately, too often that content is intimately tied to how it's displayed. How many times have you come across a Web site with a little disclaimer saying "Best viewed at 800-by-600-pixel resolution"?

XML will help solve that problem because, rather than specifying where to display something, Web builders will be able to specify the structure of the document. For example, you can specify the document's title, its author, a list of related links, and so on. Then any device with an XML browser--a palm-top computer, a set-top box, or a high-powered workstation, for example--will be able to render a version of the document specifically tailored to that device. ...read more
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-27-2008, 07:21 AM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Default What is XPATH?

can u Explain About the XPATH?
__________________
M.Ramesh Kumar
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 07:23 AM
Sundaram Sundaram is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Location: chennai
Posts: 117
Sundaram is on a distinguished road
Send a message via MSN to Sundaram Send a message via Yahoo to Sundaram
Default What is XPATH?

Hi MRamesh,

XML Path Language is a W3C specification that defines syntax for addressing parts of XML document. XML document is considered as a logical tree structure, and syntax based on this consideration is used to address elements and attributes at any level in the XML document.

For example, considering the XML document described above in answer to question 2, /abc:Employees/abc:Emp/@EmpID XPath expression can be used to access the EmpID attribute under the Emp element under the Employees document element.

XPath is used in various other specifications such as XSLT.

Thanks/Regards.

M.Sundaram
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 09:12 PM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Is XML important?

Hi,
XPath is the one from which the SubMenu should start.

For eg:
Consider the Following
-> Book
----->Author
----------->BalaGuruSamy
------------------------>C
------------------------>C++
------------------------>Java
----------->Kanitkar
------------------------>C
------------------------>C++
------------------------>Java
In the above example the Book has SubMenu->Author
I dont want to display the Author instead i want to display BalaGurusamy,Kanitkar and its subMenus.

i.e...

-->Book
->BalaGuruSamy
->Kanitkar
Like this i want
For this we can use XPath="/*/*"->'/*' is used to indicate the starting node of submenus to be displayed.

Last edited by poornima : 02-27-2008 at 09:14 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-10-2008, 05:55 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Smile Re: Is XML important?

Hi,

Nice tips.
This is very good topic. Nowadays the Net data trasactions are formalised as XML and used in internet applications. But there will be some flaws in XML transaction like you cannot transfer huge amount of data via this format since the data will be becoming huge size with these XML tags. So, can anyone explain, is there any technics to solve this huge amount data transaction problem in XML?

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-21-2008, 08:42 PM
GDevakii GDevakii is offline
D-Web Sr.Programmer
 
Join Date: Aug 2007
Posts: 138
GDevakii is on a distinguished road
Smile Re: Is XML important?

What is XPath?
* XPath is a syntax for defining parts of an XML document
* XPath uses path expressions to navigate in XML documents
* XPath contains a library of standard functions
* XPath is a major element in XSLT
* XPath is a W3C Standard

XPath is a way of pulling out particular data from an XML document. It is used by XSL to determine what should be output in your documents. It is essentially a systematic way of defining an address of each piece of data.

For example, if you have a nested set of tags:
<person>
<age>46</age>
<surname>Adams</surname>
<age>28</age>
<surname>Jones</surname>
</person>

You can pull out just the surnames by the XPATH expression "person/surname". This returns all the surnames inside the person tag, in our example this would return "AdamsJones".

As well as these addresses, XPath lets you use a raft of functions to work with the data returned from your specified address. For example you can use the UpperCase function to change the case of the output. upper-case(person/surname) returns ADAMSJONES.

For the technical author who wants to dabble at this level, XPath combined with XSL enables you to generate datasheets from raw xml data. If your help content is in an XML compliant form (such as XHTML), these technologies also enable you to transform it to a variety of other formats and medium, such as web or pdf.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/xml-soap/557-xml-important.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 02-27-2008 10:28 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
important websites.... Arun Web Design Help 10 10-08-2008 01:59 AM
!important rule in CSS velhari HTML, CSS and Javascript Coding Techniques 3 12-01-2007 12:57 AM
Why is XML such an important development? leoraja8 XML and SOAP 1 09-04-2007 07:13 AM
Important: ASP.NET Vulnerability Gopisoft ASP and ASP.NET Programming 2 03-30-2007 02:08 AM
Which aspect of a site do you think is most important? oyu2o Web Design Help 1 03-11-2007 07:44 PM


All times are GMT -7. The time now is 09:23 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0