|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








