> XML schemas have nothing to do with X-Path. It's just a way > of describing your xml data with a rich > and complex grammar.
Maybe W3C schema have nothing to do with XPath. But Schematron schema does. If Xerces fully implements XPath, it has potential capability to support XPath based technology, such as Schematron,ect. Thanks for Nicolas's suggestions. Jing Yang > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 02, 2003 10:00 AM > To: [EMAIL PROTECTED] > Subject: R�f. : RE: Xerces supports XPath ? > > > > > > > XML schemas have nothing to do with X-Path. It's just a way > of describing your xml data with a rich > and complex grammar. > You can have a schema contrained document (for validation) > and access the data stored in it > through X-Path using xalan or any other parser. > > If you need the full implementation of X-Path to browse your > xml documents, you must use > the external xalan library. You parse your documents with > xerces (SAX or DOM) to access > nodes and attributes and you use xalan to apply complex > X-Path requests to your xml > documents (it's 2 different steps). > > Some java parsers (dom4j for example) implement DOM parsing > and X-Path browsing in the same library. > So you can create a DOM document from an xml instance and > apply any X-Path request to this document > to retrieve nodes values or anything else. > > > > > > > "Jing Yang" > > > <[EMAIL PROTECTED] Pour : > <[EMAIL PROTECTED]> > > ent.com> cc : > > > Objet : RE: > Xerces supports XPath ? > 12/02/2003 03:24 > > > PM > > > Veuillez > > > r�pondre � > > > xerces-j-user > > > > > > > > > > > > > My XML instance document is constrained by W3C schema and XPath. > I hope one processor can perform two tasks. > Does anybody have any clue to do that ? > > Jing Yang > > > > > > -----Original Message----- > > From: Bob Foster [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 02, 2003 8:24 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Xerces supports XPath ? > > > > > > Lingzhi Zhang wrote: > > > > > It is just a minimum xpath parser. For full support to > > XPath 1.0, try > > > Xalan. > > > > By "minimum" do you mean it supports only the XPath syntax > allowed by > > XML Schema selections and fields? > > > > Bob > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
