W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2007

Re: How can I call mandatory part of XML.....

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Thu, 15 Mar 2007 12:27:37 +0530
Message-ID: <7870f82e0703142357ob8990a1geb69aa35720e505a@mail.gmail.com>
To: "TeX United Group Gad" <mamidogad@gmail.com>
Cc: xmlschema-dev@w3.org

You need to use XInclude.

The syntax will be something like:

<?xml version="1.0"?>
<doc xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="front.xml"/>
  <xi:include href="body.xml"/>
  <xi:include href="back.xml"/>
</doc>


On 3/14/07, TeX United Group Gad <mamidogad@gmail.com> wrote:
>
>
> Dear Sir;
>
> How can I call mandatory part of XML from other path and acheive validation
> process
> at the same time.
>
> My full XML is divided to three parts (front, body, and back) how can I call
> the front and back
> from other path, e.g.,
>
> <?xml version="1.0"?>
> <!DOCTYPE  article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.1
> 20050630//EN" "journalpublishing.dtd">
>
> <input link="front.xml"/>
>
> <body>
> <sec>
> <p>
> </p>
> </sec>........
> ......
> </body>
>
> <input link="back.xml"/>
>
> Thanks


-- 
Regards,
Mukul Gandhi
Received on Thursday, 15 March 2007 06:57:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:41 UTC