Does CFOBJECT TYPE="Java" work on linux? Otherwise, you'll have to
write a CFX interface to a parser. Xerxes is available for Java or C++,
depending on what language you're more familiar with. XML.apache.org.
What you would probably want to do is get the XML file, then use XSLT to
transform it to WDDX, then ingest the WDDX packet with CF. You will
have to create the XSLT 'stylesheet' to match the format/dtd of the
incoming XML document. You could use Xalan for the XSLT stuff - again a
CFX, but I think that Xalan is Java only, so you'd have to write a Java
CFX.
Granularity has some XML stuff you might want ot look at. Not sure if
it is Linux compatable, tho. http://www.granularity.net/technologies/
James Birchler wrote:
>
> I need a way to parse an XML document and assign the info to CF variables.
> I think the process is something like:
>
> 1. Receive XML document
> 2. Parse it on the server using some 3rd party XML parser
> 3. Use WDDX to get that info into CF
> 4. Go about my merry way
>
> Questions:
> 1. Has anyone accomplished this using CF running on a Linux box? If so, what
> XML parser did you use, and where can I find it
> 2. I am not at all clear on the process of what happens after the XML is
> parsed; I've read some Allaire docs on WDDX, only to find that at least one
> of them is full of errors. Can someone (please) attempt to lead me to the
> light?
>
> Thanks,
>
> James
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists