Click here to Skip to main content
14,739,619 members
Home » Discussions » XML / XSL
   

XML / XSL

 
AnswerRe: How to convert portlet into gadget Pin
Not Active12-Mar-10 5:32
mentorNot Active12-Mar-10 5:32 
QuestionHelp Finding Content Pin
jammmie9996-Mar-10 5:16
professionaljammmie9996-Mar-10 5:16 
AnswerRe: Help Finding Content Pin
Stuart Dootson6-Mar-10 6:06
professionalStuart Dootson6-Mar-10 6:06 
GeneralRe: Help Finding Content Pin
jammmie9996-Mar-10 7:17
professionaljammmie9996-Mar-10 7:17 
NewsBuilding Web 2.0 UIs with JSF, Realtime Updates with JSF and Ajax Push Taught at GIDS 2010 Pin
Shaguf Mohtisham3-Mar-10 21:31
MemberShaguf Mohtisham3-Mar-10 21:31 
QuestionVS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 6:10
Membergritter3-Mar-10 6:10 
AnswerRe: VS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 7:41
Membergritter3-Mar-10 7:41 
AnswerRe: VS2005 doesn't like my XML Schema Pin
Stuart Dootson6-Mar-10 5:58
professionalStuart Dootson6-Mar-10 5:58 
You need a simpleContent[^] element as a child of the complexType.

Then extend the simple type with attributes - like this:

<xsd:element name="Well_Volumes">
   <xsd:complexType>
     <xsd:sequence maxOccurs="unbounded">
       
       <xsd:element name="Well">
         <xsd:complexType>
           <xsd:simpleContent>
             <xsd:extension base="xsd:decimal">
               <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:extension>
           </xsd:simpleContent>
         </xsd:complexType>
       </xsd:element>
     </xsd:sequence>
   </xsd:complexType>
 </xsd:element>
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

CodeProject MVP for 2010 - who'd'a thunk it!

GeneralRe: xml code editor Pin
Covean2-Mar-10 23:21
MemberCovean2-Mar-10 23:21 
QuestionMultiple children in Node question Pin
RCoate1-Mar-10 21:04
MemberRCoate1-Mar-10 21:04 
AnswerRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 22:02
professionalStuart Dootson1-Mar-10 22:02 
GeneralRe: Multiple children in Node question Pin
RCoate1-Mar-10 22:56
MemberRCoate1-Mar-10 22:56 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 23:04
professionalStuart Dootson1-Mar-10 23:04 
GeneralRe: Multiple children in Node question Pin
RCoate2-Mar-10 12:16
MemberRCoate2-Mar-10 12:16 
AnswerRe: Multiple children in Node question Pin
RCoate2-Mar-10 20:35
MemberRCoate2-Mar-10 20:35 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson2-Mar-10 22:46
professionalStuart Dootson2-Mar-10 22:46 
QuestionHow to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson28-Feb-10 8:39
MemberONeil Tomlinson28-Feb-10 8:39 
AnswerRe: How to de-batch very large XMLDocument into bit size chunks Pin
daveyerwin28-Feb-10 9:44
Memberdaveyerwin28-Feb-10 9:44 
GeneralRe: How to de-batch very large XMLDocument into bit size chunks Pin
ONeil Tomlinson1-Mar-10 7:33
MemberONeil Tomlinson1-Mar-10 7:33 
QuestionUnclosed tr tag Pin
John Jones II26-Feb-10 5:35
MemberJohn Jones II26-Feb-10 5:35 
AnswerRe: Unclosed tr tag Pin
Richard MacCutchan26-Feb-10 6:23
mveRichard MacCutchan26-Feb-10 6:23 
AnswerRe: Unclosed tr tag Pin
Stuart Dootson26-Feb-10 8:45
professionalStuart Dootson26-Feb-10 8:45 
QuestionXML schema - Element name used to identify item problem... - need to use the element name to identify value when importing into SQL 2005 tables Pin
VicarH25-Feb-10 8:37
MemberVicarH25-Feb-10 8:37 
QuestionDisplay a image in picturebox Pin
kpuneeth723-Feb-10 21:36
Memberkpuneeth723-Feb-10 21:36 
AnswerRe: Display a image in picturebox Pin
Stuart Dootson23-Feb-10 21:50
professionalStuart Dootson23-Feb-10 21:50 

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

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