Who is generating the .xml doc? Safe to presume a third party?

Typically, if you are not generating the xml doc, converting it to wddx with
the <cfwddx> tag is not going to work. Data manipulations with xml require A
DTD or XSL Transformation doc and an XML parser.  Either of those (DTD or
XSL) "map" the xml data for the parser. (As I understand this). And, as I
understand from working with Hussain a wee bit... the cfx_J/GIAXT lets you
throw an xml doc and its coresponding XSL files at this CFX_J custom tag,
and you get back your a cfas usable variable that can then be used by cfas.
There may be way more to it or this may be missing the mark as to what your
after - hopefully this gets you going in the right direction.  Spent any
time at www.wddx.org? Highly recommended.

http://www2.granularity.net/xml/ColdFusion/GIAXT/

Here's the gist:

<CFX_J CLASS="GIAXT"
  XML="c:\internet\www\xml\ColdFusion\kitten.xml"
  XSL="c:\internet\www\xml\ColdFusion\cats.xsl"
  OUT="transformed"  [DEBUG]/>

<CFOUTPUT>#transformed#</CFOUTPUT>


All the best,

Stephen M. Aylor
Aylor Insurance Agency, Inc.
"Specialized Insurance for IT - We Cover IT"
[EMAIL PROTECTED]
949.581.2333 (v)
949.581.2814 (f)



> I check those out steve. Am I missing something? They all seem to take
> record sets and transform them to xml and back.  I need to figure out how
to
> look at an xml doc (something.xml) and convert it to usable data.
> CFFILE/READ does not do this.  So I figured it had to be some combination
of
> CFHTTP and CFWDDX but I cannot get my arms around it.

>
>
> > Appears you may need Hussain Chinoy of Granularity fame's GIAXT Code.
> >
> > That link was already posted below but:
> >
> > http://www2.granularity.net/xml/ColdFusion/
> >
> >
> > Steve
> >
> >
> >
> > > Using the example below...
> > > That is an attachment I get from an email.  I want to convert that xml
> to
> > > query data that I can insert into a database.
> > > So I want to find out how to take <first_name>Sean </first_name> and
> turn
> > it
> > > into #first_name#.
> > > All of the WDDX2CFML examples I have seen are passing WDDX thru forms
> and
> > > then deserializing them into CFML. These examples are not useful to me
> at
> > > all, as I would like to use CFFILE to look in a folder of xml
> attachments
> > > and use CFML to parse the data into a database or CFML templates
> >
> >
> > > > Sean
> > > >
> > > > Here are some useful WDDX links that you may not have seen:
> > > >
> > > > http://www.oacfug.org/users/dswitzer/forms/
> > > > http://www.codebits.com/wddx/examples.cfm
> > > > http://www.dental.pitt.edu/cfdocs/weisswddx.htm
> > > > http://forums.allaire.com/Forums/Main.cfm?CFApp=49
> > > >
> > >
> >
>
http://www.wddx.org/SDK/2_Docs/UsingWDDX/CodeListings/Printable/AllListings.
> > > html
> > > > http://www.wddx.org/SDK/2_Docs/UsingWDDX/COM.html
> > > > http://www2.granularity.net/xml/ColdFusion/
> > > >
> > > >
> > > > If you have a specific question I may be able to help.
> > > >
> > > > Dick


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to