Profile

Achievement

first submission:submitting first snipplet

adrianparr's Recent SnippetsTagged xml



« Prev 1 Next »
TimedText (TT) XML captions files can have namespaces that cause problems when parsing them in AS3. To get around this you can use this code to remove the namespace from the root XML node using Regex. This example uses
0 4211 posted 14 years ago by adrianparr
If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.
0 2277 posted 15 years ago by adrianparr
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
0 3336 posted 15 years ago by adrianparr
These five characters should be replaced with their HTML entity names before being used in XML, otherwise they may cause the XML to be invalid.
0 2438 posted 15 years ago by adrianparr
Here is a Document Class that loads an external XML file.
2 2425 posted 15 years ago by adrianparr
« Prev 1 Next »