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

XML / XSL

 
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 
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 
<Customers>
<CompanyName>Ana Trujillo Emparedados y helados</CompanyName>
<Orders>
<OrderDate>1996-09-18</OrderDate>
<OrderDetails>
<OrderWeight>20kg</OrderWeight>
<ShipVia>International Air</ShipVia>
</OrderDetails>
</Orders>
</Customers>

This won't work as structured. You need something like this:

<Customers>
<Customer>
<CompanyName>Ana Trujillo Emparedados y helados</CompanyName>
<Orders>
<OrderDate>1996-09-18</OrderDate>
<OrderDetails>
<OrderWeight>20kg</OrderWeight>
<ShipVia>International Air</ShipVia>
</OrderDetails>
</Orders>
</Customer>
</Customers>

Also, this is not a schema! The resulting schema with my modification is below. This creates four tables with hierarchal relationships which is usually an result of a JOIN operation on a SELECT relation query.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Customers">
<xs:complexType>
<xs:sequence>
<xs:element name="Customer">
<xs:complexType>
<xs:sequence>
<xs:element name="CompanyName" type="xs:string" />
<xs:element name="Orders">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderDate" type="xs:date" />
<xs:element name="OrderDetails">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderWeight" type="xs:string" />
<xs:element name="ShipVia" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
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 
AnswerRe: adding xmlnode to xmldocument Pin
George L. Jackson13-Feb-06 5:57
George L. Jackson13-Feb-06 5:57 
QuestionDate format problem with GetXml() Pin
Enigma344011-Feb-06 19:53
Enigma344011-Feb-06 19:53 
AnswerRe: Date format problem with GetXml() Pin
George L. Jackson13-Feb-06 7:24
George L. Jackson13-Feb-06 7:24 
GeneralRe: Date format problem with GetXml() Pin
Enigma34405-Mar-06 3:05
Enigma34405-Mar-06 3:05 
QuestionXSL Display Problem!!! Pin
Support12310-Feb-06 1:57
Support12310-Feb-06 1:57 
AnswerRe: XSL Display Problem!!! Pin
George L. Jackson10-Feb-06 3:53
George L. Jackson10-Feb-06 3:53 

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.