OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   How to Import or Include

[ Lists Home | Date Index | Thread Index ]
  • From: Deepak Agarwal <dagarwal@veridiem.com>
  • To: 'XML Discussion' <xml-dev@xml.org>
  • Date: Thu, 28 Sep 2000 14:22:56 -0400

Hi There,

I have a xml file which look like as below:

<HELPPAGEROOT>
   <CONTEXT>
      <STEP Id="1">
         <CONTEXTHELPS>
 						
            <CONTEXTHELP Name="vDescription">CALL
bpDescription</CONTEXTHELP>     //line 1
            <CONTEXTHELP Name="vAudienceList">CALL
bpAudienceList</CONTEXTHELP>   //line 2		

         </CONTEXTHELPS>
       </STEP>
   </CONTEXT>
</HELPPAGEROOT>

Note here, there is a text "CALL bpDescription". This should replace the
text or whatever is there in "bpDescription" at another location. The other
location could be as below.

<HELPPAGEROOT>
   <CONTEXT>
      <STEP Id="1">
         <CONTEXTHELPS>
            <CONTEXTHELP Name="bpDescription">Optional: Provide a
description for the object.</CONTEXTHELP>  //line 10
            <CONTEXTHELP Name="bpAudienceList">Choose an existing object, or
create a new one...</CONTEXTHELP>
          </CONTEXTHELPS>
      </STEP>
   </CONTEXT>
</HELPPAGEROOT>

Thus when line 1 is encountered, it should fetch the stuff from line 10 &
then give it back. How to do this magic??? Is there any HTML tag like
Include or import which gets the stuff from another location in another
file???

Thanks in advance
Deepak




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS