Hi,

This seems to be a more specific XSLT question.

You can do that (you will complete the code as you want):

<xsl:variable
name="path">relative_or_absolute_path_from_this_xsl_to_new_xml</xsl:vari
able>

<xsl:template match="Document|Exercises">
  <xsl:apply-templates select="document(concat($path,@uri))"/>
</xsl:template>

<xsl:template match="ScormBlocco|Video"/>

...

Pascal

> -----Message d'origine-----
> De : Tommaso Taglioni [mailto:[EMAIL PROTECTED] 
> 
> I have some XML file and I have to make only one PDF of them.
> 
> I have also a configuration file that have the order and the 
> names of the XML.
> 
> The structure of the configuration file is like this:
> 
> <Module number="6">
> 
>      <Lesson>
> 
>           <Document uri="xml\1concettibase.xml"/>
> 
>           <Exercises uri="xml\Domande1.xml"/>
> 
>           <ScormBlocco uri="xml\1concettibase_SCORM-MANIFEST.xml"/>
> 
>      </Lesson>
> 
>      <Lesson>
> 
>           <Document uri="xml\2audio.xml"/>
> 
>           <Exercises uri="xml\Domande2.xml"/>
> 
>           <ScormBlocco uri="xml\2audio_SCORM-MANIFEST.xml"/>
> 
>      </Lesson>
> 
> .
> 
> .
> 
> .
> 
> .
> 
>      <Objective uri="xml\obiettivi.xml">
> 
>       <ScormBlocco uri="xml\obiettivi_SCORM-MANIFEST.xml"/>
> 
>      </Objective>
> 
>      <Video uri=""/>
> 
>      <Bibliography uri="xml\bibliografia.xml">
> 
>       <ScormBlocco uri="xml\obiettivi_SCORM-MANIFEST.xmll"/>
> 
>      </Bibliography>
> 
> </Module>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to