XPath with SAX?
"Simon Kampa" <[email protected]> Thu, 22 Jan 2004 14:00:29 -0000
| Newsgroups | gmane.text.xml.xpath.general |
|---|---|
| Message-ID | <DCDFD5C82EF1D24894BD24EA6D9EA72C49361E@f00exc01.ulan.stasys.co.uk> |
Hi, Most=20XPath=20implementations=20appear=20to=20use=20some=20DOM=20Parser=20= as=20the=20base=20to perform=20XPath=20resolution.=20However,=20is=20there=20an=20approach=20th= at=20uses=20a=20SAX parser=20to=20find=20the=20correct=20location=20as=20specified=20in=20the=20= XPath=20and=20then return=20the=20corresponding=20nodeset.=20(Yes,=20I=20realise=20this=20sou= nds=20like mixing=20a=20bit=20of=20SAX=20with=20a=20bit=20of=20DOM.) My=20problem=20is=20having=20to=20apply=20XPath=20expressions=20to=20VERY=20= large=20documents where=20DOM=20parsing=20is=20hugely=20resource=20intensive. Ideas/Thoughts=20greatly=20appreciated. Thanks. -- Simon=20Kampa ________________________________________________________________________ This=20email=20and=20any=20files=20transmitted=20with=20it=20are=20intende= d=20solely=20for=20the=20use=20of=20the=20individual=20or=20entity=20to=20= whom=20they=20are=20addressed.=20They=20may=20contain=20sensitive=20and/or= =20in=20confidence=20information=20that=20is=20covered=20by=20legal,=20pro= fessional=20or=20other=20privilege.=20No=20mistake=20in=20transmission=20i= s=20intended=20to=20waive=20or=20compromise=20any=20such=20privilege.=20If= =20you=20have=20received=20this=20email=20in=20error=20please=20notify=20t= he=20sender=20at=20once. This=20email=20has=20been=20scanned=20for=20viruses=20on=20behalf=20of=20S= TASYS=20Limited=20by the=20MessageLabs=20Email=20Security=20System. ________________________________________________________________________