document.AUTHORS = new AUTHORS(); document.AUTHORS.AUTHOR[ 0 ] = new AUTHOR(); document.AUTHORS.AUTHOR[ 1 ] = new AUTHOR(); document.AUTHORS.AUTHOR[ 2 ] = new AUTHOR(); document.AUTHORS.PSEUDOAUTHOR = new PSEUDOAUTHOR(); document.AUTHORS.AUTHOR[ 0 ].FIRSTNAME = 'Alexander'; document.AUTHORS.AUTHOR[ 0 ].INITIAL1 = 'D'; document.AUTHORS.AUTHOR[ 0 ].SURNAME = 'Hildyard'; document.AUTHORS.AUTHOR[ 1 ].FIRSTNAME = 'Anon'; document.AUTHORS.AUTHOR[ 1 ].EMAIL = '[email protected]'; document.AUTHORS.AUTHOR[ 2 ].SURNAME = 'Twilite'; document.AUTHORS.AUTHOR[ 2 ].INITIAL2 = 'M'; document.AUTHORS.AUTHOR[ 2 ].SPECIALFLAGS = new SPECIALFLAGS(); document.AUTHORS.PSEUDOAUTHOR.TITLE = 'I24X79'; document.AUTHORS.AUTHOR[ 2 ].SPECIALFLAGS.FLAGS1 = 'TRUE'; document.AUTHORS.AUTHOR[ 2 ].SPECIALFLAGS.FLAGS4 = 'TRUE'; function AUTHORS() { this.PSEUDOAUTHOR = new Array(); this.AUTHOR = new Array(); return this; } function AUTHOR() { this.SPECIALFLAGS = new Array(); this.INITIAL2 = new Array(); this.EMAIL = new Array(); this.SURNAME = new Array(); this.INITIAL1 = new Array(); this.FIRSTNAME = new Array(); return this; } function PSEUDOAUTHOR() { this.TITLE = new Array(); return this; } function SPECIALFLAGS() { this.FLAGS4 = new Array(); this.FLAGS1 = new Array(); return this;

Script Junkie | An XML Document to JavaScript Object Converter (Web Techniques,
Related Reading
More Insights
INFO-LINK
![]() |
To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. |