[
Lists Home |
Date Index |
Thread Index
]
SETH,MANOJ (HP-India,ex2) wrote:
> Hi..
> Thnx for ur response Ken...
> Now I need to know this.....
>
> I want to have 1 central xml file where I wish to include different xml
> files(residing at different locations
> In filesystem) which should be validated by their respective XSD files. So
> when I parse this central xml file, the parser
> Should be able to validate all the included xml files with their respective
> XSD files.
>
> Is this possible using Xerces-C++ Version 2.2.0 (taken from Apache)
Surely you can use DOM or something to obtain the fragments as seperate
Documents and then validate those with either DOM or SAX. Don't know
about the processor and the possible shortest root for the whole thing
though. Hope that helps a little...
Manos
>
> Thanks in advance,
> Manoj
>
> -----Original Message-----
> From: G. Ken Holman [mailto:gkholman@CraneSoftwrights.com]
> Sent: Monday, July 07, 2003 5:26 PM
> To: 'xml-dev@lists.xml.org'
> Subject: Re: [xml-dev] Help in validation of a Subtree!!
>
>
> At 2003-07-08 04:03 +0530, SETH,MANOJ (HP-India,ex2) wrote:
>
>>Is it possible to validate a subtree of xml file with some XSD/DTD
>>file? My requirement is to validate different subtrees of 1 xml file by
>>Different XSD files??
>
>
> See: http://www.thaiopensource.com/relaxng/nrl.html
>
> The examples in section 2 show what you are asking for.
>
> I hope this helps.
>
> .................... Ken
>
>
> --
> Upcoming hands-on courses: in-house corporate training available; North
> America public: XSL-FO Aug 4,2003; XSLT/XPath Aug 12, 2003
>
> G. Ken Holman mailto:gkholman@CraneSoftwrights.com
> Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/
> Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
> ISBN 0-13-065196-6 Definitive XSLT and XPath
> ISBN 0-13-140374-5 Definitive XSL-FO
> ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
> ISBN 1-894049-11-X Practical Formatting Using XSL-FO
> Member of the XML Guild of Practitioners: http://XMLGuild.info
> Male Breast Cancer Awareness http://www.CraneSoftwrights.com/x/bc
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative
> of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>
|