Introduction to XML in Flash
       by senocular

Searching XML
What about searching? We already know how to get through an XML document. With that knowledge, it can't be hard to find things within it. And really, it's not. You just need to know how to get through your XML (which should be easy as pie now), know what to look for and where.

How, what, and where are often variable and can change based on your preferences or the setup of your XML file. When you search, do you want to check everything? Are there only certain elements/text nodes that should be checked? Are you searching only within elements of a certain type or designation? These are all things you'll need to consider when setting up a method to handle your search.

Once you got what you're going to do and how the search will be handled, its then just a matter of setting up a way through your XML and identify items relating to the search terms much in the way you would search any other body of text.


SUPPORTERS:'s fast and reliable hosting provided by Media Temple.