AJAX Forums

Question about XML Schema (XML experts please help)?

This is a discussion on Question about XML Schema (XML experts please help)? within the XML and XSLT forums, part of the Beginners AJAX category; Inside an .xsd schema file, there is a complexType like this (not written by me, copied from http://schemas.stylusstudio.com/olac...Literal.html): Text is allowed because mixed="...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-08-2007, 11:49 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 Hello World is on a distinguished road
Question about XML Schema (XML experts please help)?

Inside an .xsd schema file, there is a complexType like this (not written by me, copied from http://schemas.stylusstudio.com/olac...Literal.html): Text is allowed because mixed="true", but sub-elements are disallowed because minOccurs="0" and maxOccurs="0" are on the xs:any tag. This complexType allows for restriction or extension permitting child elements.The text inside the element says that sub-elements are disallowed becasuse minOccurs="0" and maxOccurs="0" are on the xs:any tag. This seems quite strange to me, because if it doesn't want to allow any sub-elements in this type, what is the point of setting the mixed attribute to true and what is the point of using a complexType and complexContent?Thank you.
__________________
Hello World is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : Drupal Experts by drupalido admin AJAX Freelance Jobs 0 09-21-2008 02:23 PM
AJAX Jobs : 4 joomla experts by technosystem admin AJAX Freelance Jobs 0 07-12-2008 08:31 AM
AJAX Jobs : Joomla Experts by rvdata admin AJAX Freelance Jobs 0 06-21-2008 04:12 PM
XML Schema: Can we use simple type and complex type elements in a same document? maddy005 XML and XSLT 0 05-22-2007 12:32 PM
generate a table from xml schema? s2_saha XML and XSLT 1 05-03-2007 01:24 PM


All times are GMT -4. The time now is 08:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com