Click here to Skip to main content
16,005,473 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: How to allow boolean 'TRUE' or 'True' in xml Pin
Stefan Troschuetz6-Aug-07 21:44
Stefan Troschuetz6-Aug-07 21:44 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
zxc896-Aug-07 22:34
zxc896-Aug-07 22:34 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
Stefan Troschuetz6-Aug-07 23:15
Stefan Troschuetz6-Aug-07 23:15 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
zxc896-Aug-07 23:23
zxc896-Aug-07 23:23 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
Stefan Troschuetz6-Aug-07 23:40
Stefan Troschuetz6-Aug-07 23:40 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
zxc896-Aug-07 23:51
zxc896-Aug-07 23:51 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
zxc896-Aug-07 23:52
zxc896-Aug-07 23:52 
GeneralRe: How to allow boolean 'TRUE' or 'True' in xml Pin
Stefan Troschuetz7-Aug-07 0:29
Stefan Troschuetz7-Aug-07 0:29 
I have created this schema with VS and it doesn't complain:

<xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/XMLSchema.xsd"
xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:simpleType name="mybool">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:boolean" />
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="True" />
<xs:enumeration value="TRUE" />
<xs:enumeration value="False" />
<xs:enumeration value="FALSE" />
<xs:whiteSpace fixed="true" value="collapse" />
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>

<xs:complexType name="boolean">
<xs:simpleContent>
<xs:extension base="mstns:mybool">
<xs:attribute name="description" type="xs:string" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>

</xs:schema>

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cookwww.troschuetz.de
QuestionCDATA and XSL Pin
pjackson186-Aug-07 20:20
pjackson186-Aug-07 20:20 
AnswerRe: CDATA and XSL [modified] Pin
George L. Jackson7-Aug-07 14:42
George L. Jackson7-Aug-07 14:42 
QuestionOfficeOpen XML and Font Substitution Pin
Dominick Marciano6-Aug-07 10:10
professionalDominick Marciano6-Aug-07 10:10 
AnswerRe: OfficeOpen XML and Font Substitution Pin
Dave Kreskowiak6-Aug-07 10:23
mveDave Kreskowiak6-Aug-07 10:23 
GeneralRe: OfficeOpen XML and Font Substitution Pin
Dominick Marciano7-Aug-07 9:10
professionalDominick Marciano7-Aug-07 9:10 
QuestionMerge XML Pin
Prashant C6-Aug-07 4:06
Prashant C6-Aug-07 4:06 
AnswerRe: Merge XML Pin
led mike6-Aug-07 4:50
led mike6-Aug-07 4:50 
AnswerRe: Merge XML Pin
George L. Jackson6-Aug-07 15:30
George L. Jackson6-Aug-07 15:30 
GeneralRe: Merge XML Pin
led mike7-Aug-07 4:27
led mike7-Aug-07 4:27 
GeneralRe: Merge XML [modified] Pin
George L. Jackson7-Aug-07 15:24
George L. Jackson7-Aug-07 15:24 
GeneralRe: Merge XML Pin
led mike8-Aug-07 4:23
led mike8-Aug-07 4:23 
GeneralRe: Merge XML Pin
George L. Jackson7-Aug-07 16:04
George L. Jackson7-Aug-07 16:04 
QuestionDatabase and XSLT Pin
Prashant C6-Aug-07 2:11
Prashant C6-Aug-07 2:11 
AnswerRe: Database and XSLT Pin
led mike6-Aug-07 4:49
led mike6-Aug-07 4:49 
AnswerRe: Database and XSLT Pin
George L. Jackson6-Aug-07 15:37
George L. Jackson6-Aug-07 15:37 
QuestionCSV to Xml conversion Pin
swapnalim5-Aug-07 19:47
swapnalim5-Aug-07 19:47 
AnswerRe: CSV to Xml conversion Pin
led mike6-Aug-07 4:49
led mike6-Aug-07 4:49 

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.