Click here to Skip to main content
15,891,184 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionHot to convert a Wordml to XSL Pin
Exelioindia20-Jul-10 19:20
Exelioindia20-Jul-10 19:20 
AnswerRe: Adding attributes to xml nodes Pin
DaveAuld17-Jul-10 8:58
professionalDaveAuld17-Jul-10 8:58 
GeneralRe: Adding attributes to xml nodes Pin
priyaahh17-Jul-10 9:16
priyaahh17-Jul-10 9:16 
Questionjava script code error Pin
varsh1216-Jul-10 19:26
varsh1216-Jul-10 19:26 
AnswerRe: java script code error Pin
Stoffy197225-Jul-10 10:22
Stoffy197225-Jul-10 10:22 
QuestionXSD and Elements Order Pin
MrKBA13-Jul-10 21:51
MrKBA13-Jul-10 21:51 
AnswerRe: XSD and Elements Order Pin
Stuart Dootson14-Jul-10 0:34
professionalStuart Dootson14-Jul-10 0:34 
GeneralRe: XSD and Elements Order Pin
MrKBA14-Jul-10 1:11
MrKBA14-Jul-10 1:11 
this work, but I have an other problem with this :

The error is :
The element 'IMPORT_USERS' is used but not declared in the DTD/Schema.

To make you in the better situation ;

This is my XSD File:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="IMPORT_USERS">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element ref="Group" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="User" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="User" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="Group" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:choice>
<xs:attribute name="XSDversion" use="required">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:enumeration value="1.0"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Group">
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Description" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="User">
<xs:complexType>
<xs:attribute name="Name" use="required">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Description" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>



And this is my XML File

<IMPORT_USERS XSDversion="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Program Files\TEST_XSD.xsd">
<User Name="USER1" Description="user1"/>
<User Name="USER2" Description="user2"/>
<Group Name="GRP_1" Description="Niv 1"/>
<Group Name="GRP_2" Description="Niv 2"/>
</IMPORT_USERS>


Can you help me about this ?
Thank you for Help
GeneralRe: XSD and Elements Order Pin
Stuart Dootson18-Jul-10 1:19
professionalStuart Dootson18-Jul-10 1:19 
GeneralRe: XSD and Elements Order Pin
MrKBA18-Jul-10 2:57
MrKBA18-Jul-10 2:57 
QuestionSearching for multiple types with XPath Pin
Trollslayer10-Jul-10 0:45
mentorTrollslayer10-Jul-10 0:45 
AnswerRe: Searching for multiple types with XPath Pin
Not Active10-Jul-10 7:06
mentorNot Active10-Jul-10 7:06 
AnswerRe: Searching for multiple types with XPath Pin
sameerazazi877-Aug-10 2:07
sameerazazi877-Aug-10 2:07 
QuestionXpath problem Pin
snehasish9-Jul-10 0:27
snehasish9-Jul-10 0:27 
AnswerRe: Xpath problem Pin
Stuart Dootson9-Jul-10 11:12
professionalStuart Dootson9-Jul-10 11:12 
QuestionExcel to XML conversion Pin
priyaahh5-Jul-10 18:49
priyaahh5-Jul-10 18:49 
AnswerRe: Excel to XML conversion Pin
evd4610-Aug-10 20:13
evd4610-Aug-10 20:13 
Questionxsl:apply-templates help please! [modified] Pin
Neophyte301-Jul-10 4:49
Neophyte301-Jul-10 4:49 
AnswerRe: xsl:apply-templates help please! Pin
Neophyte305-Jul-10 0:17
Neophyte305-Jul-10 0:17 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 4:37
professionalStuart Dootson6-Jul-10 4:37 
AnswerRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 4:14
professionalStuart Dootson6-Jul-10 4:14 
GeneralRe: xsl:apply-templates help please! Pin
Neophyte306-Jul-10 5:47
Neophyte306-Jul-10 5:47 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 14:38
professionalStuart Dootson6-Jul-10 14:38 
QuestionHow to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
WebMaster1-Jul-10 2:07
WebMaster1-Jul-10 2:07 
AnswerRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
Not Active1-Jul-10 2:38
mentorNot Active1-Jul-10 2:38 

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.