Search found 5 matches

by mikeg
Tue Dec 08, 2009 3:58 pm
Forum: CloverDX (formerly CloverETL) Support
Topic: Getting Element Name via XML Readers
Replies: 5
Views: 3212

Re: Getting Element Name via XML Readers

That may be sufficient; thanks for your help :)
by mikeg
Mon Dec 07, 2009 7:15 pm
Forum: Cookbook
Topic: How to read a flat file or XML file as one string field?
Replies: 5
Views: 9567

Re: How to read a flat file or XML file as one string field?

Thanks for the help The problem is that I'm going to be dealing with potentially 100s of output ports due to the complexity of the XML file. I'm not sure it's reasonable to have a component with that many ports - it will become far too confusing, and if I change one port, all of them will get screwe...
by mikeg
Mon Dec 07, 2009 7:06 pm
Forum: CloverDX (formerly CloverETL) Support
Topic: Getting Element Name via XML Readers
Replies: 5
Views: 3212

Re: Getting Element Name via XML Readers

Thanks for the reply. Below is an example of the problem: <root> <FirstParent> <child>Value</child> <anotherChild>Value</anotherChild> </FirstParent> <SecondParent> <child>Value</child> <anotherChild>Value</anotherChild> </SecondParent> <ThirdParent> <child>Value</child> <anotherChild>Value</another...
by mikeg
Thu Dec 03, 2009 9:04 pm
Forum: CloverDX (formerly CloverETL) Support
Topic: Getting Element Name via XML Readers
Replies: 5
Views: 3212

Getting Element Name via XML Readers

I'm working on parsing a complicated XML document that shares many of the same child nodes between many different parent nodes. For example: <root> <parent1> <child1/> <child2/> <child3/> </parent1> <parent2> <child1/> <child2/> <child3/> </parent2> </root> My proposed solution to this is to use the...
by mikeg
Thu Dec 03, 2009 8:56 pm
Forum: Cookbook
Topic: How to read a flat file or XML file as one string field?
Replies: 5
Views: 9567

Re: How to read a flat file or XML file as one string field?

Great example, but I have a slightly more complicated request: How would one go about reading an XML node and all its children as plain text, preferably using one of the XML readers? For example: <root> <node1> <node2> <foo>bar</foo> </node2> </node1> </root> Let's say I wanted node2 sent to output ...

cron