[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

validating a schema at run time

Subject: validating a schema at run time
From: "Ian Rogers" <ian.rogers@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2001 09:51:06 +0100
validating xml file agianst schema
hi

i am trying to validate my xml agianst a schema. I have used a tool which
validates my xml and have found  that my xml is valide.  the trouble i am
having is loading in the schema to the xml file so it validates the xml when
it runs

this is my schema code
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="transactions">
<..etc..>

and my xml code
<?xml version="1.0" ?>
<transactions
	xmlns:xsi="http://www.w3.org/2001/10/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="file:trans.xsd">

	<details>
<..etc..>

i have tried using namespaces but with the same result.what happens is it
just displays the xml file to the browser instead of the result of the
xml/xslt.

can anyone see what i am doing wrong or give me any information on
validating a xml socument against a schema when it is run.

thanks

Ian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.