// SpryXML.js - version 0.4 - Spry Pre-Release 1.6
|
//
|
// Copyright (c) 2007. Adobe Systems Incorporated.
|
// All rights reserved.
|
//
|
// Redistribution and use in source and binary forms, with or without
|
// modification, are permitted provided that the following conditions are met:
|
//
|
// * Redistributions of source code must retain the above copyright notice,
|
// this list of conditions and the following disclaimer.
|
// * Redistributions in binary form must reproduce the above copyright notice,
|
// this list of conditions and the following disclaimer in the documentation
|
// and/or other materials provided with the distribution.
|
// * Neither the name of Adobe Systems Incorporated nor the names of its
|
// contributors may be used to endorse or promote products derived from this
|
// software without specific prior written permission.
|
//
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
// POSSIBILITY OF SUCH DAMAGE.
|
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('9 6;7(!6)6={};7(!6.8)6.8={};7(!6.8.l)6.8.l={};6.8.l.G=d(g){b.g=g;b.W=H;b.S=H;b.w=r y};6.8.l.G.s.18=d(I){7(!I)I="";9 z=I+b.g;7(b.S)z+=" (+)";z+="\\n";9 R=I+" ";N(9 $16 1f b.w){9 5=b.w[$16];7(5.W)z+=R+5.g+"\\n";D z+=5.18(R)}a z};6.8.l.V=d(q,m){7(!q||!m)a;9 i=0;N(i=0;i<q.L.11;i++){9 u=q.L.1l(i);7(u&&u.o==2){9 B="@"+u.1e;7(!m.w[B]){9 T=r 6.8.l.G(B);T.W=E;m.w[B]=T}}}9 5=q.v;9 U=r y;K(5){7(5.o==1){9 k=m.w[5.g];7(!k){k=r 6.8.l.G(5.g);7(k)m.w[5.g]=k}7(k){7(U[k.g])k.S=E;D U[k.g]=E}6.8.l.V(5,k)}5=5.F}};6.8.15=d(q){7(!q)a C;m=r 6.8.l.G(q.g);6.8.l.V(q,m);a m};6.8.1o=d(x){7(!x)a C;9 f=x.v;K(f){7(f.o==1)19;f=f.F}a 6.8.15(f)};6.8.1d=d(f){7(f){9 5=f.v;7(5&&5.F==C&&(5.o==3||5.o==4))a E}a H};6.8.j=d(){};6.8.j.s.10=d(){9 h=b["#1c"];7(h!=A)a h;a b["#14-12"]};6.8.j.s.1z=d(){a b.10()!=A};6.8.j.s.1x=d(){a b["#1c"]!=A};6.8.j.s.1w=d(){a b["#14-12"]!=A};6.8.j.s.1s=d(J){9 h=b[J];7(h==A)a H;a(13 h=="1b"&&h.P==y)};6.8.j.s.1t=d(J){9 Y=[];9 h=b[J];7(h!=A){7(13 h=="1b"&&h.P==y)a h;Y.O(h)}a Y};6.8.j.s.1y=d(){9 Q=[];N(9 p 1f b){7(!/^1r/.1g(p))Q.O(p)}a Q};6.8.M=d(f){7(!f)a C;9 c=r 6.8.j();N(9 i=0;i<f.L.11;i++){9 u=f.L[i];9 B="@"+u.1e;c[B]=u.1v}9 5;7(6.8.1d(f)){1h{5=f.v;7(5.o==3)c[5.g]=6.1i.1q(5.1a);D 7(5.o==4)c[5.g]=5.1a}1j(e){6.1p.1k("6.8.M() 1n 1m: "+e+"\\n")}}D{5=f.v;K(5){7(5.o==1){9 Z=H;9 t=5.g;7(c[t]){7(c[t].P!=y){9 17=c[t];c[t]=r y;c[t].O(17)}Z=E}9 X=6.8.M(5);7(Z)c[t].O(X);D c[t]=X}5=5.F}}a c};6.8.1u=d(x){9 c=C;7(x&&x.v){9 5=x.v;K(5){7(5.o==1){c=r 6.8.j();c[5.g]=6.8.M(5);19}5=5.F}}a c};',62,98,'|||||child|Spry|if|XML|var|return|this|obj|function||node|nodeName|val||XObject|childSchemaNode|Schema|schemaNode||nodeType||ele|new|prototype|tagName|attr|firstChild|children|xmlDoc|Array|str|undefined|attrName|null|else|true|nextSibling|Node|false|indentStr|prop|while|attributes|nodeToObject|for|push|constructor|props|newIndentStr|appearsMoreThanOnce|attrObj|namesSeenSoFar|mapElementIntoSchemaNode|isAttribute|childObj|arr|isArray|_value|length|section|typeof|cdata|getSchemaForElement|childName|curValue|toString|break|data|object|text|nodeHasValue|name|in|test|try|Utils|catch|reportError|item|caught|exception|getSchema|Debug|encodeEntities|_|_propertyIsArray|_getPropertyAsArray|documentToObject|value|_valueIsCData|_valueIsText|_getProperties|_hasValue'.split('|'),0,{}))
|