|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] validating a schema at run time
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








