-1

I have a fairly complex xml and I don't have a schema for it. I only wanted to extract a few things from that XML (Less then 3 nodes out of 100)

Is there a way to do it without recreate the schema such as jaxb schema generator? What would be the best way to do this?

Thanks

user293655
  • 508
  • 1
  • 6
  • 23

1 Answers1

0

JAXB with annotations may do. JAXB will ignore spurious XML structures.

This of course when you maintain the structure.

Joop Eggen
  • 107,315
  • 7
  • 83
  • 138