RE: [xsl] Validating against schema subset

Subject: RE: [xsl] Validating against schema subset
From: "Amrit Pal Singh" <ampsingh@xxxxxxxxx>
Date: Tue, 8 Nov 2005 14:15:15 +0530
Thanks for the reply. But in my case child elements are not defined at
root. Is there anyway to validate in this case?

-----Original Message-----
From: George Cristian Bina [mailto:george@xxxxxxx]
Sent: Tuesday, November 08, 2005 1:31 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Validating against schema subset

Hi Amrit,

Any global element defined in the XML Schema can be the root of an XML
document so you can validate your XML file with the XML Schema if the
root element of your XML file is a top level element in the schema.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Amrit Pal Singh wrote:
>
> Hi,
>
> Is it possible to validate a xml against subset of a schema. I'm
> having a xml file which is going to be part of a bigger xml file. For
> the bigger xml file, I'm  having xml schema to validate against.
> Before adding my xml file to bigger xml file, I need to validate
> against particular element definition in the schema file.
> Is there anyway to do it?
>
> Thanks & Regards,
> Amrit
>
>
> Quark Media House(I) Pvt. Ltd.
> A-45, Indl. Area
> Phase- 8 Mohali(PB)
> India
> Phone: 91.172.2299348
> ampsingh@xxxxxxxxx
> www.quark.com
>
> CONFIDENTIALITY NOTICE
> This e-mail transmission and any documents, files, or previous e-mail
> messages appended or attached to it, may contain information that is
> confidential or legally privileged. If you are not the intended
> recipient, or a person responsible for delivering it to the intended
> recipient, you are hereby notified that you must not read this
> transmission and that any disclosure, copying, printing, distribution,

> or use of the information contained or attached to this transmission
> is STRICTLY PROHIBITED. If you have received this transmission in
> error, please immediately notify the sender by telephone
> 91.172.2299348 or return e-mail message ampsingh@xxxxxxxxx and delete
> the original transmission, its attachments, and any copies without
> reading or saving in any manner. Thank you.

Current Thread