actionscript 3 - XML-AS3 Photo Gallery -


If I want to do a photo gallery in categories with categories, how should I structure my XML?

Should I do this?

  & lt; Gallery & gt; & Lt; Category & gt; & Lt; Name & gt; .. & lt; / Name & gt; & Lt; Description & gt; ... & lt; / Description & gt; & Lt; Pick & gt; .. & lt; / Pick & gt; & Lt; Pick & gt; .. & lt; / Pick & gt; & Lt; / Category & gt; & Lt; Category & gt; ....... & lt; / Category & gt; & Lt; / Gallery & gt;   

Should I have different levels of categories in different XMLs?

The way you've set it up, it's perfectly fine. There is no need to separate it in many XML.

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -