[xsl] Best Technics to include snippets

Subject: [xsl] Best Technics to include snippets
From: "Braumuller, Hans" <h.braumueller@xxxxxxxxxxxx>
Date: Mon, 27 May 2002 11:03:02 +0200
Hello friends,

whats is the best technic to include (like in shtml with include) snippets,
that i need in different combination, depending on the application case and
which have no relation with xml-source ?

For example buttons like <input type="buttons"
value="{$buttons[@name='search']}" />. So in case A i have 4 buttons in case
B  7, etc.

The xml-data from the buttons i have set in a second xml-document, getting
it with the document function:
<xsl:param name="buttons" select="document(buttons_en.xml)/root/form/input"
/>

For header and footer that are always the same i am using <xsl:import>,
getting it with <xsl:call-template>.

Thanks,

Hans Braumuller

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread