[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: transformation to create an XML file
If you mean that you want to be able to change element names based on
stylesheet parameters, you should be able to use <xsl:element
name="{$parameterName}">...</xsl:element>, where "$parameterName" is
the variable containing the name of the element you want to create.
If you want to change the content of elements with fixed names of "param1" and "param2" then you can definitely include content from stylesheet parameters using <xsl:value-of select="$paramData" /> where "$paramData" contains the content you want to place inside the param1 or param2 elements.
On Aug 22, 2008, at 3:15 PM, Sarkup Sarkup wrote: I want to be able to create a dynamic xml file by passing parameters at run time. I know XSLT for styling. I want to now dynamically create an XML file.
|
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
|