CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2002
    Posts
    2

    [newbie] XML Schema question

    Alright team,

    I'm a newbie and here is my first question:


    In HTML if you put in <b> then every browser worldwide knows that you want to use bold text.

    I'n XML if you put in <firstname>Ben</firstname> how can a browser interpret this any different if I wanted to use <1stname>Ben</1stname> or <name1>Ben</name1>

    Sorry if this sounds like a daft question but I have my Dummies book out and I'm just trying to work it through.

    Is there a set list of recognised XML tags, just like there is for HTML?

    All the best,

    Ben

  2. #2
    Join Date
    May 2002
    Location
    Manchester, UK
    Posts
    105
    An XML Schema defines the structure of an XML file and the data type of elements.

    You appear to be talking about an XML file. An XML file would commonly be used to store data in a structured format, possibly defined by a schema or DTD. An XML file should not be used to store data and associated format specifiers. XSLT can be used to transform the XML data into html and whilst doing so apply HTML format specifiers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured