Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Thu, 7 Jul 2005 15:00:28 -0700,    group: microsoft.public.data.xmlanalysis        back       


create xpath from xsd files?   
Can someone tell me how to create xpath representations of the field 
definitions in an xsd file? I would like to somehow use the MS XML parser to 
analze the xsd as an xml file and produce a set of xpath statments that 
represent the data fields described by the xsd. I will appreciate any help.

Thanks,

Keith
date: Thu, 7 Jul 2005 15:00:28 -0700   author:   keithb

Re: create xpath from xsd files?   
keithb wrote:

> Can someone tell me how to create xpath representations of the field
> definitions in an xsd file? I would like to somehow use the MS XML parser
> to analze the xsd as an xml file and produce a set of xpath statments that
> represent the data fields described by the xsd. I will appreciate any
> help.

Not really, because XPath only addresses the location of (path to) or
manipulation of a node in an XML document: it has no inherent knowledge
of what data type that node is. But you could certainly use XPath to
describe the location of a declaration of an element or attribute in your
Schema, bearing in mind that there is no such thing as The One True XPath
to any given node; there is an infinity of them, depending on where you
start and what you want the XPath to do.

Or have I misunderstood what you want?

///Peter
-- 
XML FAQ: http://xml.silmaril.ie/
date: Sun, 02 Oct 2005 21:00:07 +0100   author:   Peter Flynn

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us