on 12-01-2011 1:51 PM
Hi ,
I want to store the XML returned for the below( if the style sheet is not provided ) in the XML variable and then transofrm this dynamically based on the choice .
<SERVLET NAME="Illuminator">
<PARAM NAME="QueryTemplate" VALUE="CustomQuery">
<PARAM NAME="" VALUE=" <PARAM NAME="StyleSheet" VALUE=" "">
Please let me know if there is any method exist in XMII . I am aware that i can execute the same query using URL .
Thanks
Kishore K V
Hi,
There is no direct method to update a particular value in the XML element which you want to do.
But you can do it a trasaction but i dont know this solution is usefull to you or not.
logic used could be :
iterate on the PARAM elements of the XML.
check for the PARAM name
if PARAM name equals "StyleSheet" set the value in the PARAM what ever you need.
at the end of this iteration, the XML variable will be updated with new value.
regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishor
You can pass style sheet name in URL and based on that you can dynamically change style sheets.
Use
<PARAM NAME="StyleSheet" VALUE="{StylesheetName}">
Where StylesheetName is parameter passed in url like
http://<server>/XMII/CM/PageName?StylesheetName=test.xsl
Regards
Anshul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.