Stax can refer to:
Streaming API for XML (StAX) is an application programming interface (API) to read and write XML documents, originating from the Java programming language community.
Traditionally, XML APIs are either:
Both have advantages: DOM, for example, allows for random access to the document, and SAX has a small memory footprint and is typically much faster.
These two access metaphors can be thought of as polar opposites. A tree based API allows unlimited, random access and manipulation, while an event based API is a 'one shot' pass through the source document.
StAX was designed as a median between these two opposites. In the StAX metaphor, the programmatic entry point is a cursor that represents a point within the document. The application moves the cursor forward - 'pulling' the information from the parser as it needs. This is different from an event based API - such as SAX - which 'pushes' data to the application - requiring the application to maintain state between events as necessary to keep track of location within the document.
Sometimes I close my eyes
And picture the plains
I see Buffalo Bill and the Iroquois
Riding again
Open skies, fertile ground
This was heaven on earth
That they found
We got what they gave
By their God we were saved
They were humble not depraved
These streets we're afraid of
Once were the fields of the brave
The fields of the brave
Where a Chevrolet rusts
By a closed shopping mall
Can you see through the dust
Where the brave ones stood tall
Buried deep where they fell
They live on in the stories we tell
They got what they gave
By their God they were saved
And I say this as I pray
I can't help but dream of
The days these were fields of the brave
The fields of the brave
After all this time
And the struggles in between
We stand next in line
With the chance we can build on their dreams
In the
Fields of the brave
Fields of the brave
We got what they gave
In the fields of the brave
Let their spirits be saved
And I pray this on their graves
There'll be a return of
The days these were fields of the brave