Jump to content

craftid

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About craftid

  • Rank
    Newbie
  • Birthday 02/22/1984

Previous Fields

  • Languages
    A little bit of XHTML, XML and JS

Profile Information

  • Location
    Ireland
  1. Hey folks,I hope this is an appropriate place to ask this question. I've been working through the tutorials here on w3cschools, and am wondering about best practises, when it comes to adding new content without reloading the page.From what I gather, I can have a .txt file containing lots of html (sample below) and add that into my main page quite successfully. <div class="pagecontent"><p class="subheading">Sub Heading</p><p class="stuff">Some stuff</p></div> Everything looks correct, but I can't help feeling that having all this styled html saved as .txt
  2. Thank you boen_robot, this is just what I needed to get me going.Very well explained!
  3. That's great, thank you very much! You're exactly correct regarding <xs:element name="new" minOccurs="0"/>, this will be very useful. For the date format, I have to say I followed the w3schools tutorial on XML Attributes, where the "favorite" format for a date is to use all elements instead of attributes. I have no specific need for that format, so I'm happy to play around.I'll put it to practice in a few hours, and report back.Thanks again!
  4. Hey folks,I'm following the schema tutorial here on w3schools, I've hit a point where I "think" I know the correct method, but I was hoping some of you experienced folks could have a look at this.I'm trying to write a schema for this XML document. <minutes> <entry id="1"> <date> <day>16</day> <month>January</month> <year>2011</year> </date> <recap> <recapheader>Recap of last week:</recapheader> <recapcontent>Blah de blah de blah</recapcontent> </recap> <new> <newheader>
×
×
  • Create New...