House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  XML

Long-time ColdFusion , First time XML

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello Everyone,
Alan Walker
02/01/02 12:32 P
Alan,
Russell Brown
02/01/02 12:42 P
Hi Russell,
Simon Haddon
08/09/04 06:18 P
I used a tag called cf_SOXML to do this.
Tracy Bost
02/01/02 12:46 P
Cf_soxml is at www.siteobjects.com
Nathanael Waite
02/01/02 01:21 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Alan Walker
02/01/2002 12:32 PM

Hello Everyone, I have been using CF for a few years now and am very happy with its performance.  I am writing an application that is retrieving an XML document from an outside system.  I’m trying to put the pieces of the puzzle together to leverage WDDX in CF to parse through this XML document.  Where I am confused is how to actually read the XML doc since it isn’t being sent to me in WDDX.  I know that I need to define a stylesheet to let the XSLT know how to read the data in the XML doc but I don’t have a clear picture of how all these components work together. Does anyone know of a resource to help a first time XML-er on his way? I haven’t been able to reach WDDX.org. I’d appreciate any input you have. Thanks in advance,   Alan Walker Technical Lead Vérité Multimedia, Inc. http://www.verite.com DVD * CD * Web * Print * Film * Sound ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don Vawter
02/01/2002 12:41 PM

The first thing to note is that wddx is a tiny subset of xml and cannot be used to parse general xml documents. I would suggest getting the soxml tag from the gallery as a good starting point. As long as you can live with the msxml parser it should do the trick for you. As an aside there is a great IDE for xml stuff called XML Spy if you get deeply into it. I think I paid $400 for it. °¿° ~ Don Vawter ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Macromedia ColdFusion 5 Training from the Source   Step by Step ColdFusion   http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russell Brown
02/01/2002 12:42 PM

Alan, I have written a CFX tag that takes your XML and turns it into wddx. The tag works like this 1. read the doc 2. parse it with xerces-j 3. loop over the doc and place in hashtable 4. use allaire's wddx classes to turn hashtable into wddx 5. return wddx as string to calling cfml template. There are other ways to do this I suppose, but my xslt knowledge does not stretch to creating a style sheet to transform *any* XML file to wddx. And I have not tried yet to implement this in with SAX instead (though it is on my list). If you are working on NT www.siteobjects.com have an excellent cf wrapper to msxml to parse XML into CF (its called soxml). On Solaris there is my tag, Granularity incs expensive suite of xml tools, cfdevs cfx_xmlparser and your own implementation with any java parser and <cfobject>. Mail me off list if you would like me to send you the source for my CFX, it uses allaire's wddx classes and xerces-j Good luck however you approach this issue Regards Russell -------------------------------------------- Freeserve Production: Turning Ideas Into Reality Russell Brown Internet Application Developer Freeserve.com Plc, PO Box 452, Leeds LS2 7EY Never pay another Internet phone bill! Freeserve AnyTime, for all the Internet access you want, day and night, only .12.99 per month. Sign-up at http://www.freeserve.com/time/anytime Hello Everyone, I have been using CF for a few years now and am very happy with its performance.  I am writing an application that is retrieving an XML document from an outside system.  I’m trying to put the pieces of the puzzle together to leverage WDDX in CF to parse through this XML document.  Where I am confused is how to actually read the XML doc since it isn’t being sent to me in WDDX.  I know that I need to define a stylesheet to let the XSLT know how to read the data in the XML doc but I don’t have a clear picture of how all these components work together. Does anyone know of a resource to help a first time XML-er on his way? I haven’t been able to reach WDDX.org. I’d appreciate any input you have. Thanks in advance, Alan Walker Technical Lead Vérité Multimedia, Inc. http://www.verite.com DVD * CD * Web * Print * Film * Sound ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Simon Haddon
08/09/2004 06:18 PM

Hi Russell, I am interested in your XML to WDDX parser and tried to find your email with no luck.  I have been writing a system to transform WDDX into target database systems and visa versa.  I written most of it wit the use of xerces, sax, allora, wddx, etc but I am having trouble with the converse of my wddx to xml converter. I gues part of my problem is that I am trying to do this in sax and this means that I cannot find the meta data for each node till after it is parsed which makes it a little harder.  So my next though is to use the DOM and it sounds like this is what you did. If you could email me you email or send em the java source I would appreciate it. Thanks, Simon email: simon@sibern.com.au ----- Excess quoted text cut - see Original Post for more ----- [snipped]

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tracy Bost
02/01/2002 12:46 PM

I used a tag called cf_SOXML  to do this. Look in tag gallery, if you can't find it, I can dig it up somewhere. Quoting Alan Walker <alan@verite.com>: > Hello Everyone, >   > I have been using CF for a few years now and am very happy with its > performance.  I am writing an application that is retrieving an XML > document from an outside system.  I’m trying to put the pieces of the > puzzle together to leverage WDDX in CF to parse through this XML > document.  Where I am confused is how to actually read the XML doc sinc e ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nathanael Waite
02/01/2002 01:21 PM

Cf_soxml is at www.siteobjects.com I used a tag called cf_SOXML  to do this. Look in tag gallery, if you can't find it, I can dig it up somewhere. Quoting Alan Walker <alan@verite.com>: > Hello Everyone, >   > I have been using CF for a few years now and am very happy with its > performance.  I am writing an application that is retrieving an XML > document from an outside system.  I'm trying to put the pieces of the > puzzle together to leverage WDDX in CF to parse through this XML > document.  Where I am confused is how to actually read the XML doc sinc e > it isn't being sent to me in WDDX.  I know that I need to define a > stylesheet to let the XSLT know how to read the data in the XML doc but > I don't have a clear picture of how all these components work > together. > >   > Does anyone know of a resource to help a first time XML-er on his way? ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com


<< Previous Thread Today's Threads Next Thread >>

Search xml

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference