Click here to Skip to main content

XML / XSL

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
QuestionMessage Removed Pinmembersampath_dr3:57 12 Mar '10  
AnswerRe: How to convert portlet into gadget PinsupporterMark Nischalke5:32 12 Mar '10  
QuestionHelp Finding Content Pinassociatejammmie9995:16 6 Mar '10  
AnswerRe: Help Finding Content PinmvpStuart Dootson6:06 6 Mar '10  
GeneralRe: Help Finding Content Pinassociatejammmie9997:17 6 Mar '10  
NewsBuilding Web 2.0 UIs with JSF, Realtime Updates with JSF and Ajax Push Taught at GIDS 2010 PinmemberShaguf Mohtisham21:31 3 Mar '10  
QuestionVS2005 doesn't like my XML Schema Pinmembergritter6:10 3 Mar '10  
I am using Visual Studio 2005 to create my first XML Schema. Generally it's going well. The intellisense in VS is very helpful.
 
My only issue is that VS is flagging the element "Well" in my example, saying "The type attribute cannot be present with either simpleType or complexType." I'm not sure how to structure it if this way isn't acceptable. I've also included a XML snippet of what I am trying define in the schema.
 
Any help appreciated.
                   <xsd:element name="Well_Volumes">
                      <xsd:complexType>
                        <xsd:sequence>
                          
                          <xsd:element name="Well" type="xsd:decimal">
                            <xsd:complexType>
                              <xsd:attribute name="channel" type="xsd:string"/>
                              <xsd:attribute name="dispense_order" type="xsd:string"/>
                              <xsd:attribute name="plate_column" type="xsd:string"/>
                              <xsd:attribute name="plate_row" type="xsd:string"/>
                            </xsd:complexType>
                          </xsd:element>
                        
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
<br/>
<br/>
 

     <Well_Volumes>
        <Well channel="A" dispense_order="1" plate_column="1" plate_row="1">0.209</Well>
        <Well channel="A" dispense_order="2" plate_column="2" plate_row="1">0.212</Well>
        <Well channel="A" dispense_order="3" plate_column="3" plate_row="1">0.219</Well>
        <Well channel="B" dispense_order="1" plate_column="4" plate_row="2">0.212</Well>
        <Well channel="B" dispense_order="2" plate_column="5" plate_row="2">0.222</Well>
        <Well channel="B" dispense_order="3" plate_column="6" plate_row="2">0.212</Well>
    </Well_Volumes>
 


AnswerRe: VS2005 doesn't like my XML Schema Pinmembergritter7:41 3 Mar '10  
AnswerRe: VS2005 doesn't like my XML Schema PinmvpStuart Dootson5:58 6 Mar '10  
QuestionMessage Removed Pinmemberishwarya mahadevan23:00 2 Mar '10  
GeneralRe: xml code editor PinmemberCovean23:21 2 Mar '10  
QuestionMultiple children in Node question PinmemberRCoate21:04 1 Mar '10  
AnswerRe: Multiple children in Node question PinmvpStuart Dootson22:02 1 Mar '10  
GeneralRe: Multiple children in Node question PinmemberRCoate22:56 1 Mar '10  
GeneralRe: Multiple children in Node question PinmvpStuart Dootson23:04 1 Mar '10  
GeneralRe: Multiple children in Node question PinmemberRCoate12:16 2 Mar '10  
AnswerRe: Multiple children in Node question PinmemberRCoate20:35 2 Mar '10  
GeneralRe: Multiple children in Node question PinmvpStuart Dootson22:46 2 Mar '10  
QuestionHow to de-batch very large XMLDocument into bit size chunks PinmemberONeil Tomlinson8:39 28 Feb '10  
AnswerRe: How to de-batch very large XMLDocument into bit size chunks Pinmemberdaveyerwin9:44 28 Feb '10  
GeneralRe: How to de-batch very large XMLDocument into bit size chunks PinmemberONeil Tomlinson7:33 1 Mar '10  
QuestionUnclosed tr tag PinmemberJohn Jones II5:35 26 Feb '10  
AnswerRe: Unclosed tr tag PinmvpRichard MacCutchan6:23 26 Feb '10  
AnswerRe: Unclosed tr tag PinmvpStuart Dootson8:45 26 Feb '10  
QuestionXML schema - Element name used to identify item problem... - need to use the element name to identify value when importing into SQL 2005 tables PinmemberVicarH8:37 25 Feb '10  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.5.120210.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid