javascript - use different XSL templates when opening a XML in a new window -


i have xml file rendered set xsl file (xslt 1.0). xsl file includes several other xsl files multiple templates in them.
need include button in rendered xml open same xml in new window, using different templates in xsls.
including button , opening new window not problem, how tell xsl use different templates because got opened in new window? idea use javascript opening new window, don't see how set or pass parameter check on xslt/xpath.
in advance help!

change xml or transform server side (with php,asp,jsp...) or client side (with javascript). can parameterize xsl processor, not xml file. if don't want use xsl processor, have recreate xml file on server side same body , different header stylesheet.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -