
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Firstly, the JavaScript setAttribute doesn't set quotes because it doesn't generate XML. It simply creates the attribute as part of the elements DOM structure. If you aren't getting quotes when you generate XML it will be related to the method that is generating the XML (not the setAttribute method).
Secondly, <cfxml> is a tag used to accept inline XML inside Coldfusion. If you are using the ## mechanism to take some variable and have it rendered as XML inside the <cfxml> tag then you probably need to use the preserveSingleQuotes method to ensure that single quotes created in another XML string representation are faithfully maintained in Coldfusion.
On 12/23/05, Taco Fleur - Pacific Fox <taco.fleur@...> wrote:
The JavaScript setAttribute function generates attributes without quotes, I am using <cfxml> to turn the document constructed in javascript into an XML doc, obviously without the attributes properly quoted it errors. Anyone any idea how to get JavaScript to create the attributes with quotes?
Kind regards,
Taco Fleur - Chief Executive Officer
Pacific Fox
http://www.pacificfox.com.au an industry leader with commercial IT experience since 1994 …
-
Web Design and Development
-
SMS Solutions, including developer API
-
Domain Registration, .COM for as low as fifteen dollars a year, .COM.AU for fifty dollars two years!
-
-
We endorse
PayPal, accept payments online now!
-
Seamless Merchant integration
---
You are currently subscribed to cfaussie as: gmenzel@...
To unsubscribe send a blank email to
leave-cfaussie-7952D@... Aussie Macromedia Developers:
http://lists.daemon.com.au/
b‹šç.®·§¶\¬¹»®&ÞvÚ}«¬²'š²X¬¶ÉÚm¹^r‰“¢éì¹»®&Þ±éÝi¹ZžG¦j)m¢Wš½çjë,‰í·×®E–+-±Öžš‰Ü¢f®ë,‰ãrº&yØš
ëÞ–Š^®Èm¶Ÿÿ–+-±Öžš‰Ü¢f®ü