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

XML / XSL

 
QuestionHow to Parse CData value through ISAXXMLReader Pin
pch19827-May-08 21:56
pch19827-May-08 21:56 
QuestionHow to Generate HTML Reports in C#.. Pin
Aswanth4-May-08 21:59
Aswanth4-May-08 21:59 
AnswerRe: How to Generate HTML Reports in C#.. Pin
led mike6-May-08 4:57
led mike6-May-08 4:57 
AnswerRe: How to Generate HTML Reports in C#.. [modified] Pin
Vinay Dornala9-May-08 0:40
Vinay Dornala9-May-08 0:40 
GeneralRe: How to Generate HTML Reports in C#.. Pin
Christian Graus11-May-08 23:19
protectorChristian Graus11-May-08 23:19 
QuestionSearching against child node in XML Pin
kmpatel4-May-08 11:26
kmpatel4-May-08 11:26 
AnswerRe: Searching against child node in XML Pin
led mike6-May-08 4:57
led mike6-May-08 4:57 
QuestionXML Schema Formatting for SchemaGen Pin
AirWalk092-May-08 5:58
AirWalk092-May-08 5:58 
I have an XML Schema that i would like to use BulkLoad 4.0 SchemaGen to create the tables in an SQL 2005 Database. I get the error "Schema: the parent/child table of the relationship on 'Listings' does not match." Code for the Schema is as follows:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://platform.point2.com/schemas/2.0/listingDataFeed" xmlns="http://platform.point2.com/schemas/2.0/listingDataFeed" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:sql="urn:schemas-microsoft-com:mapping-schema">

<xs:annotation>
<xs:appinfo>
<sql:relationship name="Test"
parent="ListingDataFeed"
parent-key="Listings_Id"
child="Listings"
child-key="Listings_Id"
inverse="true"/>
</xs:appinfo>
</xs:annotation>

<xs:element name="ListingDataFeed" type="data" sql:relation="ListingsDataFeed"
sql:key-fields="Listings_Id"/>
<xs:complexType name="data">
<xs:sequence>
<xs:element name="PublishDate" type="xs:dateTime"/>
<xs:element name="DocumentationUrl" type="xs:string"/>
<xs:element name="Disclaimer" type="xs:string"/>
<xs:element name="Copyright" type="xs:string"/>
<xs:element name="Listings" type="listings" minOccurs="0" sql:relation="Listings"
sql:key-fields="Listings_Id"
sql:relationship="Test"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="listings">
<xs:sequence>
<xs:element name="Listing" type="listing" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

All of the code defining relationships is what I have added to the Schema that i received in an attempt to set proper relationships to "Listings". There is further XML code for the "listing" data, but i'm pretty sure that the problem is in the code above. Any help would be really appreciated, Thanks!

Pieter.
QuestionSaving an XML file as an HTML file without losing XSL formatting applied to XML. Pin
preeti asai2-May-08 2:29
preeti asai2-May-08 2:29 
AnswerRe: Saving an XML file as an HTML file without losing XSL formatting applied to XML. Pin
Christian Graus2-May-08 21:21
protectorChristian Graus2-May-08 21:21 
QuestionXML: Read, Write and Modify Pin
Zaegra1-May-08 7:15
Zaegra1-May-08 7:15 
AnswerRe: XML: Read, Write and Modify Pin
DerekFL1-May-08 9:36
DerekFL1-May-08 9:36 
AnswerRe: XML: Read, Write and Modify Pin
Christian Graus3-May-08 1:18
protectorChristian Graus3-May-08 1:18 
QuestionWSE 3.0 and SoapHeaderException with database??? Pin
jerome_data29-Apr-08 7:27
jerome_data29-Apr-08 7:27 
GeneralNeed to assign value from xml file to string variable in .net Pin
subbu.sk27-Apr-08 21:20
subbu.sk27-Apr-08 21:20 
GeneralRe: Need to assign value from xml file to string variable in .net Pin
led mike28-Apr-08 4:28
led mike28-Apr-08 4:28 
Questionhow to prepare sitemap.xml file? Pin
jegastar27-Apr-08 20:34
jegastar27-Apr-08 20:34 
AnswerRe: how to prepare sitemap.xml file? Pin
Mark J. Miller29-Apr-08 7:57
Mark J. Miller29-Apr-08 7:57 
GeneralUPS XML Online Ship Tool Integration Pin
chamlight24-Apr-08 12:52
chamlight24-Apr-08 12:52 
GeneralRe: UPS XML Online Ship Tool Integration Pin
alay jain2-May-08 20:45
alay jain2-May-08 20:45 
GeneralXML file and Database Pin
Sankalp Verma22-Apr-08 22:48
Sankalp Verma22-Apr-08 22:48 
GeneralRe: XML file and Database Pin
Christian Graus22-Apr-08 23:24
protectorChristian Graus22-Apr-08 23:24 
GeneralRe: XML file and Database Pin
raginisingh24-Apr-08 22:03
raginisingh24-Apr-08 22:03 
GeneralXml Attibute in C# Pin
manustone21-Apr-08 23:59
manustone21-Apr-08 23:59 
Generalwrite xml root element attribute string in .net(C#). Pin
r aa j20-Apr-08 23:26
r aa j20-Apr-08 23:26 

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.