Cheers,


I'm not that familiar with XLST yet, but I'll have a look at it...


I guess the only other way would be to recreate the cf structure by
traversing through the xml doc...

Taco Fleur
<http://www.tacofleur.com/index/methodology/>  

Tell me and I will forget
Show me and I will remember
Teach me and I will learn

-----Original Message-----
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 9 March 2004 1:42 AM
To: CF-Talk
Subject: Re: XML -> structure -> WDDX -> JS

Calling XMLParse() creates an XML document; not a structure. WDDX
requires a structure, so you will need to traverse the XML document and
create a structure that matches it in order for this to work. I believe
a better approach would be to write an XSLT script that will transform
your input XML directly into WDDX avoiding all the steps in-between.

-Matt

On Mar 8, 2004, at 10:17 AM, Thomas Chiverton wrote:

> On Thursday 04 Mar 2004 09:04 am, Taco Fleur wrote:
>  > I was under the impression that when I parse XML it is a CF
> structure?
>
>  Only if you call XMLParse()
>
>  > Am I wrong, is it not a structure that can be converted to
> _javascript_ with
>  > WDDX?
>
>  Once you have it as a CF structure, you can turn it into WDDX in the
> normal
>  way.
>
>  --
>  Tom Chiverton
>  Advanced ColdFusion Programmer
>
>  Tel: +44(0)1749 834997
>  email: [EMAIL PROTECTED]
>  BlueFinger Limited
>  Underwood Business Park
>  Wookey Hole Road, WELLS. BA5 1AF
>  Tel: +44 (0)1749 834900
>  Fax: +44 (0)1749 834901
>  web: www.bluefinger.com
>  Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
>  Quay, BRISTOL. BS1 6EG.
>  *** This E-mail contains confidential information for the addressee
>  only. If you are not the intended recipient, please notify us
>  immediately. You should not use, disclose, distribute or copy this
>  communication if received in error. No binding contract will result
> from
>  this e-mail until such time as a written document is signed on behalf
> of
>  the company. BlueFinger Limited cannot accept responsibility for the
>  completeness or accuracy of this message as it has been transmitted
> over
>  public networks.***
>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to