techniques for processing XML languages?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • darrenjones
    New Member
    • Mar 2008
    • 1

    techniques for processing XML languages?

    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.
  • pronerd
    Recognized Expert Contributor
    • Nov 2006
    • 392

    #2
    Originally posted by darrenjones
    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.
    Yes..... I think.

    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.

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      One other promising technology I've heard of is VTD:

      Comment

      Working...