Click here to Skip to main content
15,912,069 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionXML Data Pin
jontyler25-Jul-08 9:58
jontyler25-Jul-08 9:58 
AnswerRe: XML Data Pin
Devang_010126-Jul-08 0:52
Devang_010126-Jul-08 0:52 
GeneralRe: XML Data Pin
jontyler26-Jul-08 12:32
jontyler26-Jul-08 12:32 
QuestionHow to transform a HL7 Xml file to a generic XMl file? [modified] Pin
Member 470396624-Jul-08 16:17
Member 470396624-Jul-08 16:17 
AnswerRe: How to transform a HL7 Xml file to a generic XMl file? Pin
led mike25-Jul-08 5:24
led mike25-Jul-08 5:24 
Question'ref' tag Pin
harsh_296123-Jul-08 21:07
harsh_296123-Jul-08 21:07 
AnswerRe: 'ref' tag Pin
Veldrain25-Jul-08 13:35
Veldrain25-Jul-08 13:35 
QuestionImport Schema problems in XSD Pin
Guinness4Strength23-Jul-08 6:13
Guinness4Strength23-Jul-08 6:13 
I'm implementing the XmlSchemaProvider attribute and am having some issues defining my XSD. I've created a XSD file which will be an embedded resource in an assembly. I'm attempting to import the MS WSDL types schema so that I can provide a defintion for char datatype, but every way I try and add the namespace and import the schema I get resolution errors. I'm VERY new to XSDs and have some working knowledge of XML so I'm not 100% positive I can do what I want to here, but this is the basic pattern I have seen in many WSDLs for adding support for char datatypes.

Any answers or shoves in the right direction would be appreciated.

Below is a sample format for my XSD:
<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"    xmlns:xs0="http://microsoft.com/wsdl/types/">
	<xs:import namespace="http://microsoft.com/wsdl/types/"/>
	<!--cannot resolve "http://microsoft.com/wsdl/types/" error here-->
	<xs:complexType name="MyComplexType">
		<xs:sequence>
			<xs:element name="Value" nillable="true">
				<xs:complexType>
					<xs:choice>
						<xs:element name="boolean" type="xs:boolean" />
						<xs:element name="byte" type="xs:byte" />
						<xs:element name="unsignedByte" type="xs:unsignedByte" />
						<xs:element name="short" type="xs:short" />
						<xs:element name="unsignedShort" type="xs:unsignedShort" />
						<xs:element name="int" type="xs:int" />
						<xs:element name="unsignedInt" type="xs:unsignedInt" />
						<xs:element name="long" type="xs:long" />
						<xs:element name="unsignedLong" type="xs:unsignedLong" />
						<xs:element name="float" type="xs:float" />
						<xs:element name="double" type="xs:double" />
						<xs:element name="decimal" type="xs:decimal" />
						<xs:element name="dateTime" type="xs:dateTime" />
						<xs:element name="string" type="xs:string" />
						<xs:element name="char" type="xs0:char" />
						<!--Type http:=//microsoft.com/wasdl/types/:char is not declared error here -->
					</xs:choice>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>

Question<xs:import namespace="http://microsoft.com/wsdl/types/" xmlns:xs="#unknown" /> Pin
Guinness4Strength23-Jul-08 5:44
Guinness4Strength23-Jul-08 5:44 
Questionxml reading using vc++ Pin
V K 223-Jul-08 2:52
V K 223-Jul-08 2:52 
AnswerRe: xml reading using vc++ Pin
led mike23-Jul-08 5:25
led mike23-Jul-08 5:25 
QuestionAdding two XmlDocument objects and making as one XmlDocument Pin
indian14322-Jul-08 0:09
indian14322-Jul-08 0:09 
AnswerRe: Adding two XmlDocument objects and making as one XmlDocument Pin
led mike23-Jul-08 5:23
led mike23-Jul-08 5:23 
Questionconvert HTML to XML Pin
r aa j21-Jul-08 1:11
r aa j21-Jul-08 1:11 
AnswerRe: convert HTML to XML Pin
Paddy Boyd21-Jul-08 2:39
Paddy Boyd21-Jul-08 2:39 
AnswerRe: convert HTML to XML Pin
Devang_010126-Jul-08 1:08
Devang_010126-Jul-08 1:08 
QuestionUsing msxml help in Visual c++ 6.0 Pin
rocktx18-Jul-08 6:34
rocktx18-Jul-08 6:34 
QuestionCannot traverse RDLC file using Xpath Pin
Krugger40418-Jul-08 1:31
Krugger40418-Jul-08 1:31 
AnswerABUSE: Massive amount of XML posted Pin
led mike18-Jul-08 5:20
led mike18-Jul-08 5:20 
GeneralRe: ABUSE: Massive amount of XML posted Pin
Krugger40418-Jul-08 6:20
Krugger40418-Jul-08 6:20 
GeneralRe: ABUSE: Massive amount of XML posted Pin
led mike18-Jul-08 6:28
led mike18-Jul-08 6:28 
GeneralRe: ABUSE: Massive amount of XML posted Pin
Paul Conrad26-Jul-08 14:47
professionalPaul Conrad26-Jul-08 14:47 
Questionproblem loading xml+xsl in IE Pin
Member 466072415-Jul-08 19:48
Member 466072415-Jul-08 19:48 
AnswerRe: problem loading xml+xsl in IE Pin
led mike17-Jul-08 7:00
led mike17-Jul-08 7:00 
QuestionWeb Method Returning a complex Custom data type. Pin
nagankota15-Jul-08 1:56
nagankota15-Jul-08 1:56 

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.