I'm trying to write a processor for the RDF/XML format (http://www.w3.org/TR/rdf-syntax-grammar/). Right now I'm planning on using SAX, hand coding rules/logic for tags and attributes. (I can't use dom because of performance). Question: Is there are a higher level of doing this? With the plethora of xml based languages out there, there'd be an easier way of specifying a grammar than directly in code.
techniques for processing XML languages?
Collapse
X
-
Tags: None
-
Yes..... I think.Originally posted by darrenjonesIs there are a higher level of doing this? With the plethora of xml based languages out there, there'd be an easier way of specifying a grammar than directly in code.
I am not sure what you mean by "specifying a grammar". XSL will let you modify and transform XML files easily, but it and the other XML languages are going to have a performance penalty just like the DOM APIs. -
One other promising technology I've heard of is VTD:
Comment
Comment