Skip to main content

Extract XML portion using Fast Infoset

2 replies [Last post]
kbon
Offline
Joined: 2007-07-20

I am parsing a large XML file using Fast Infoset. I want to be able to extract either the FI source or the raw XML source for a particular tag e.g. In the sample below, I want to extract the contents of elem1 and write it to a seperate file. Is this possible with Fast Infoset at the moment

<?xml>
....

dsds

.....

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
oleksiys
Offline
Joined: 2006-01-25

Current FastInfoset implementation supports StAX, SAX, DOM - like parsing. You can choose any (for big documents StAX or SAX), and parse FI document as regular XML one.

esamitha
Offline
Joined: 2007-05-09

you better forward the question to dev@fi.dev.java.net . this is a mailing list for fi developers