Click here to Skip to main content
16,010,488 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML file corrupted and filled with spaces..Any Idea!!! Pin
FiDz21-Feb-06 22:24
FiDz21-Feb-06 22:24 
GeneralRe: XML file corrupted and filled with spaces..Any Idea!!! Pin
George L. Jackson22-Feb-06 18:02
George L. Jackson22-Feb-06 18:02 
GeneralRe: XML file corrupted and filled with spaces..Any Idea!!! Pin
FiDz26-Feb-06 1:51
FiDz26-Feb-06 1:51 
QuestionHelp on MS Word 2003 XML Pin
ted_92119-Feb-06 15:27
ted_92119-Feb-06 15:27 
AnswerRe: Help on MS Word 2003 XML Pin
Douglas Troy3-Mar-06 6:32
Douglas Troy3-Mar-06 6:32 
Questionxml in smart device application Pin
bhavz6917-Feb-06 1:56
bhavz6917-Feb-06 1:56 
AnswerRe: xml in smart device application Pin
George L. Jackson18-Feb-06 1:53
George L. Jackson18-Feb-06 1:53 
QuestionXML display problem Pin
smadan16-Feb-06 19:41
smadan16-Feb-06 19:41 
Hi,

I am trying to create an XML schema as follows:

<xs:element name="QueryResult">
<xs:complexType>
<xs:all>
<xs:element name="Domain" minOccurs="0" type="xs:string"></xs:element>
<xs:element name="ServerName" minOccurs="0" type="xs:string"></xs:element>
<xs:element name="AbuseAddress" minOccurs="0" type="xs:string"></xs:element>
</xs:all>
</xs:complexType>
</xs:element>

The result i obtain is in the following format:

<Domain>domain.com</Domain>
<ServerName>serverName</ServerName>
<AbuseAddress>AbuseAddress1</AbuseAddress>

<Domain>domain.com</Domain>
<ServerName>serverName</ServerName>
<AbuseAddress>AbuseAddress2</AbuseAddress>

but what i need is that all abuse addresses be dislayed together as:

<Domain>domain.com</Domain>
<ServerName>serverName</ServerName>
<AbuseAddress>AbuseAddress1</AbuseAddress>
<AbuseAddress>AbuseAddress2</AbuseAddress>

How do i modify my schema to obtain the above format?
Can someone help do this pls.

Thanks.
AnswerRe: XML display problem Pin
George L. Jackson18-Feb-06 2:00
George L. Jackson18-Feb-06 2:00 
GeneralRe: XML display problem Pin
smadan19-Feb-06 18:13
smadan19-Feb-06 18:13 
GeneralRe: XML display problem Pin
George L. Jackson20-Feb-06 13:20
George L. Jackson20-Feb-06 13:20 
GeneralRe: XML display problem Pin
smadan20-Feb-06 18:38
smadan20-Feb-06 18:38 
Questionset values for nested XML nodes Pin
smadan16-Feb-06 18:38
smadan16-Feb-06 18:38 
AnswerRe: set values for nested XML nodes Pin
George L. Jackson18-Feb-06 1:49
George L. Jackson18-Feb-06 1:49 
GeneralRe: set values for nested XML nodes Pin
smadan19-Feb-06 18:07
smadan19-Feb-06 18:07 
AnswerRe: set values for nested XML nodes Pin
George L. Jackson18-Feb-06 4:03
George L. Jackson18-Feb-06 4:03 
QuestionError - Child row has multiple parents Pin
SavitaB15-Feb-06 10:58
SavitaB15-Feb-06 10:58 
AnswerRe: Error - Child row has multiple parents Pin
Gokulan Venattil15-Feb-06 17:41
Gokulan Venattil15-Feb-06 17:41 
QuestionXML as data source Pin
Niro198314-Feb-06 16:29
Niro198314-Feb-06 16:29 
AnswerRe: XML as data source Pin
Shog914-Feb-06 17:54
sitebuilderShog914-Feb-06 17:54 
GeneralRe: XML as data source Pin
Niro198314-Feb-06 21:50
Niro198314-Feb-06 21:50 
GeneralRe: XML as data source Pin
Shog915-Feb-06 3:20
sitebuilderShog915-Feb-06 3:20 
Questionhow to update an XML file Pin
Abhishek Tiwari13-Feb-06 20:23
Abhishek Tiwari13-Feb-06 20:23 
AnswerRe: how to update an XML file Pin
Gokulan Venattil15-Feb-06 0:23
Gokulan Venattil15-Feb-06 0:23 
Questionadding xmlnode to xmldocument Pin
NewbieDude12-Feb-06 20:16
NewbieDude12-Feb-06 20:16 

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.