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

qt - switch/case statement in C++ with a QString type -

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

Python's equivalent for Ruby's define_method? -