Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to parse nested xml?
    primarykey
    data
    text
    <p>I have parse small xml and without nestes but I unnable to parse this xml- </p> <pre><code>&lt;screen id = "1" backgroundColor = "" backgroundImg = "" templateId = "12" hasNavigationBar = "0" hasTabBar = "1" &gt; &lt;navigation-bar title = "" color = "#b0b0b0" backButtonTitle = "Back"&gt; &lt;!--&lt;navigation-item type = "1" action = "" /&gt;--&gt; &lt;/navigation-bar&gt; &lt;tab-bar numberOfTabs = "4" &gt; &lt;tab-bar-item title = "Home" image = "tab_home.png" linkedScreen = "101" /&gt; &lt;tab-bar-item title = "About Us" image = "tab_about.png" linkedScreen = "201" /&gt; &lt;tab-bar-item title = "Request Info" image = "tab_requestinfo.png" linkedScreen = "301" /&gt; &lt;tab-bar-item title = "Directions" image = "tab_directions.png" linkedScreen = "401" /&gt; &lt;!--&lt;tab-bar-item title = "Current Parents" image = "tab_family.png" linkedScreen = "501" /&gt;--&gt; &lt;/tab-bar&gt; &lt;/screen&gt; &lt;screen id = "101" backgroundColor = "" backgroundImg = "HomeBg.png" templateId = "11" hasNavigationBar = "0" hasTabBar = "1" &gt; &lt;navigation-bar title = "" color = "#b0b0b0" backButtonTitle = "Back"&gt; &lt;!--&lt;navigation-item type = "1" action = "" /&gt;--&gt; &lt;/navigation-bar&gt; &lt;button-view yOffset = "94" spacing = "5" /&gt; &lt;button width = "273" height = "33" image = "Btn_About.png" action = "201" textColor = "#ffffff"&gt;About Brearley&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Admissions.png" action = "103" textColor = "#ffffff"&gt;Admission&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Calendar.png" action = "102" textColor = "#ffffff"&gt;School Calendar&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Giving.png" action = "901" textColor = "#ffffff"&gt;Giving&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Directions.png" action = "401" textColor = "#ffffff"&gt;Directions&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Families.png" action = "701" textColor = "#ffffff"&gt;Families&lt;/button&gt; &lt;button width = "273" height = "33" image = "Btn_Alumnae.png" action = "801" textColor = "#ffffff"&gt;Alumnae&lt;/button&gt; &lt;/screen&gt; &lt;screen id = "102" backgroundColor = "#dedede" backgroundImg = "" templateId = "16" hasNavigationBar = "1" hasTabBar = "1" &gt; &lt;navigation-bar title = "School Calendar" color = "#b0b0b0" backButtonTitle = "Back"&gt; &lt;!--&lt;navigation-item type = "1" action = "" /&gt;--&gt; &lt;/navigation-bar&gt; &lt;calender-view &gt; &lt;calender-url&gt;http://www.crescerance.com/School/brearley/calendar/AcademicEvent.html&lt;/calender-url&gt; &lt;event date="September 5, 2011" day = "Monday" time = "8:00 AM" title = "Labor Day Holiday" desc = "Demo School will be closed today for the Labor Day Holiday." /&gt; &lt;event date="September 6, 2011" day = "Tuesday" time = "8:30 AM" title = "First Day of School" desc = "First day of school for all students. Don't forget to pack a pair of extra clothes, indoor shoes, water bottle, sunscreen, and bugspray." /&gt; &lt;event date="October 17, 2011" day = "Monday" time = "8:00 AM - 6:00PM" title = "Teacher Work Day" desc = "School is closed for a Teacher Work Day. Enjoy the long weekend!" /&gt; &lt;event date="November 21, 2011" day = "Monday" time = "8:00 AM" title = "Parent Conferences Day 1" desc = "Please check the Parent Conferences schedule at school and ensure that both parents can attend." /&gt; &lt;event date="November 22, 2011" day = "Tuesday" time = "12:00 AM" title = "Parent Conferences Day 2" desc = "Please check the Parent Conferences schedule at school and ensure that both parents can attend." /&gt; &lt;event date="January 2, 2012" day = "Monday" time = "8:00 AM" title = "School Resumes" desc = "School resumes after the Winter Break." /&gt; &lt;event date="January 16, 2012" day = "Monday" time = "8:00 AM" title = "MLK Holiday" desc = "School is closed for the Martin Luther King Holiday." /&gt; &lt;event date="February 17, 2012" day = "Friday" time = "8:00 AM" title = "Teacher Enrichment Day" desc = "School is closed for Teacher Enrichment." /&gt; &lt;event date="February 20, 2012" day = "Monday" time = "8:00 AM" title = "President's Day Holiday" desc = "School is closed for the President's Day Holiday." /&gt; &lt;event date="May 28, 2012" day = "Monday" time = "8:00 AM" title = "Memorial Day Holiday" desc = "School is closed for the Memorial Day Holiday." /&gt; &lt;/calender-view&gt; &lt;/screen&gt; &lt;screen id = "103" backgroundColor = "#dedede" backgroundImg = "InnerPages_BG.png" templateId = "4" hasNavigationBar = "1" hasTabBar = "1" &gt; &lt;navigation-bar title = "Admission" color = "#b0b0b0" backButtonTitle = "Back"&gt; &lt;!--&lt;navigation-item type = "1" action = "" /&gt;--&gt; &lt;/navigation-bar&gt; &lt;table-view noOfSection = "1"&gt; &lt;!-- TableView --&gt; &lt;table-section title = "" noOfRows = "4"&gt; &lt;table-row isClickable = "1" action= "1031" hasAccessory = "1" backgroundColor = "#d53044" textColor = "#ffffff" &gt;Welcome&lt;/table-row&gt; &lt;/table-section&gt; &lt;table-section noOfRows = "2"&gt; &lt;table-row isClickable = "1" action= "1032" hasAccessory = "1" backgroundColor = "#d53044" textColor = "#ffffff" &gt;Applying&lt;/table-row&gt; &lt;table-row isClickable = "1" action= "1033" hasAccessory = "1" backgroundColor = "#d53044" textColor = "#ffffff" &gt;Admission Calender&lt;/table-row&gt; &lt;table-row isClickable = "1" action= "1034" hasAccessory = "1" backgroundColor = "#d53044" textColor = "#ffffff" &gt;Tuition and Financial Aid&lt;/table-row&gt; &lt;/table-section&gt; &lt;table-section noOfRows = "2"&gt; &lt;table-row isClickable = "1" action= "1035" hasAccessory = "1" backgroundColor = "#d53044" textColor = "#ffffff" &gt;F.A.Q&lt;/table-row&gt; &lt;/table-section&gt; &lt;/table-view&gt; &lt;/screen&gt; &lt;screen id = "1031" backgroundColor = "#dedede" backgroundImg = "InnerPages_BG.png" templateId = "6" hasNavigationBar = "1" hasTabBar = "1" &gt; &lt;navigation-bar title = "Welcome" color = "#b0b0b0" backButtonTitle = "Back"&gt; &lt;!--&lt;navigation-item type = "1" action = "" /&gt;--&gt; &lt;/navigation-bar&gt; &lt;table-view noOfSection = "1"&gt; &lt;!-- TableView --&gt; &lt;table-section title = "" noOfRows = "1"&gt; &lt;table-row isClickable = "0" action= "" height = "345" &gt;http://www.crescerance.com/School/brearley/admission/Welcome.html&lt;/table-row&gt; &lt;/table-section&gt; &lt;/table-view&gt; &lt;/screen&gt; </code></pre> <p> I am using DOM paarsing but after getting school nodelist I unnable to get other atrribute an set these attribute into coreesponding class please anyone guide me.I allready search google and done example but can't get any clue.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload