[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Typing variables
If I have an element <elem>A,B,C</elem> and I want it to render as JSON - "elem":["A","B","C"], so I do "<xsl;value-of select="local-name(),$thinge" separator='":['/>] where $thing is <xsl:variable name="thing">"<xsl:value-of select="replace(.,',',concat($quot,',',$quot))"/>"</xsl:variable> and the value of the variable $quot is obvious. If I were to make $thing a typed variable what would it be.
|
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
|