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

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