This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Best Technics to include snippets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]