Click here to Skip to main content
15,921,226 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: passing a variable to xsl Pin
Erik Westermann8-Sep-02 12:04
professionalErik Westermann8-Sep-02 12:04 
GeneralJava and XML Pin
sasdav5-Sep-02 3:44
sasdav5-Sep-02 3:44 
GeneralRe: Java and XML Pin
Ryan B.12-Sep-02 5:34
Ryan B.12-Sep-02 5:34 
GeneralXML for persisted data Pin
Jeremy Pullicino5-Sep-02 0:21
Jeremy Pullicino5-Sep-02 0:21 
GeneralRe: XML for persisted data Pin
Zdenek Navratil5-Sep-02 2:04
Zdenek Navratil5-Sep-02 2:04 
GeneralRe: XML for persisted data Pin
Ranjan Banerji5-Sep-02 5:36
Ranjan Banerji5-Sep-02 5:36 
GeneralRe: XML for persisted data Pin
Jeremy Pullicino5-Sep-02 23:44
Jeremy Pullicino5-Sep-02 23:44 
GeneralRe: XML for persisted data Pin
Erik Westermann8-Sep-02 12:20
professionalErik Westermann8-Sep-02 12:20 
The fastest way to extract data from an XML document is to use SAX (Simple API for XML)[^]. All major vendors provide an implemetaion, but it is not a standardized API (a standards body does not control the API) - it is a de fecto standard.

SAX uses a streaming model where the XML parser notifies your applicaiton whenever it reads a part of the document and provides the details to you in plain text. There's a good article, part of which describes the SAX programming model at the 'other' site[^].

SAX scales well, but if you're still concerned about performance then you can just read the XML directly usinng file I/O and parse it yourself - that's as efficient as it gets but is difficult to maintain.

Jeremy Pullicino wrote:
dynamically creating a schema with the fields I will want

No need to do this - see my other post about getting data from an XML document. That post uses the DOM, which may end up being too slow for your needs. Again, you can use SAX bu then extracting the relevant data is left an an excercise for you or you can od the do-it-yourself route and again have to deal with that issue but with the benefit of muh better performance.


Erik Westermann
Author, Learn XML In A Weekend (Fall 2002)
GeneralRe: XML for persisted data Pin
Paul Watson5-Sep-02 6:32
sitebuilderPaul Watson5-Sep-02 6:32 
GeneralRe: XML for persisted data Pin
Jeremy Pullicino5-Sep-02 23:46
Jeremy Pullicino5-Sep-02 23:46 
GeneralRe: Pausing SVG Pin
Paul Watson5-Sep-02 3:56
sitebuilderPaul Watson5-Sep-02 3:56 
QuestionXML editor? Pin
Rickard Andersson203-Sep-02 9:07
Rickard Andersson203-Sep-02 9:07 
AnswerRe: XML editor? Pin
Philip Fitzsimons23-Sep-02 7:19
Philip Fitzsimons23-Sep-02 7:19 
GeneralRe: XML editor? Pin
Rickard Andersson2023-Sep-02 22:20
Rickard Andersson2023-Sep-02 22:20 
QuestionCDATA in element attributes? Pin
Zyxil3-Sep-02 8:43
Zyxil3-Sep-02 8:43 
AnswerRe: CDATA in element attributes? Pin
Paul Watson3-Sep-02 23:43
sitebuilderPaul Watson3-Sep-02 23:43 
GeneralGroup problem Pin
Ahmet Orkun GEDiK26-Aug-02 11:32
sussAhmet Orkun GEDiK26-Aug-02 11:32 
GeneralRe: Group problem Pin
Ranjan Banerji28-Aug-02 7:18
Ranjan Banerji28-Aug-02 7:18 
GeneralGroup problem Pin
Ahmet Orkun GEDiK26-Aug-02 11:29
sussAhmet Orkun GEDiK26-Aug-02 11:29 
Generalsorting Pin
Sonu Kapoor26-Aug-02 9:36
Sonu Kapoor26-Aug-02 9:36 
GeneralRe: sorting Pin
Ranjan Banerji26-Aug-02 9:52
Ranjan Banerji26-Aug-02 9:52 
GeneralRe: sorting Pin
Sonu Kapoor26-Aug-02 20:17
Sonu Kapoor26-Aug-02 20:17 
GeneralRe: sorting Pin
12-Sep-02 4:23
suss12-Sep-02 4:23 
GeneralXSLT grouping Pin
Catimus22-Aug-02 10:50
Catimus22-Aug-02 10:50 
GeneralRe: XSLT grouping Pin
Zdenek Navratil22-Aug-02 21:40
Zdenek Navratil22-Aug-02 21:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.