1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    53
    Vote Rating
    0
    Mic1 is on a distinguished road

      0  

    Default reading xml <lay id="2" orientation="h" name="View2" description="2 Views 1*2">

    reading xml <lay id="2" orientation="h" name="View2" description="2 Views 1*2">


    I am reading into grids the standard

    <ItemSearchRequest>
    <Author>Sidney Sheldon</Author>
    <SearchIndex>Books</SearchIndex>
    </ItemSearchRequest>

    but have large xml files in the format

    <lay id="3" orientation="h" name="View2a" description="2 Views 1*2">
    <box id="1" orientation="v">
    <pane id="1" />
    <pane id="2" />
    </box>
    <box id="2" orientation="v">
    <pane id="3" />
    <pane id="4" />
    </box>
    </lay>

    .... found an article that says this kinda xml is a pain and that multiple associated models have to be created to handle it. Would I be better off converting all my xml into 'standard' format? tia,

    Mic.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    If you have the choice, can you convert to JSON? That would be much better.

    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    53
    Vote Rating
    0
    Mic1 is on a distinguished road

      0  

    Default


    sure, the format is up to me ..... is JSON ok at handling the hierarchical parent node/child node stuff that xml is so good at? tia

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    We have several examples that use nested JSON (tree, etc)

    Scott.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    53
    Vote Rating
    0
    Mic1 is on a distinguished road

      0  

    Default


    excellent - thanks for the info. (desperate for an answer on my Architect question : "Architect: Ext.tree.Panel.Config.tpl format?" :-( can you help? :-) )


  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    desperate for an answer on my Architect question : "Architect:
    Replied, but your question was a bit vague.

    Scott.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi