Skip to main content
Hello,

 

 

I want to read an XML schema, which i don't know what kind of XML it is. It could be, XML,GML,LandXML,RSS. I've tried many readers but all fails. All readers I have tried, gives me the messages that the xf-mapping could not determine the xml schema.

 

 

I've tried findeing out how to create a new xfmap file, but I could not quite get the hang of it.

 

 

So I'm wondering if any XML-Guru's  out there can help me?

 

 

I Want to be able to read this XML feed:

 

http://www.vegvesen.no/trafikk/xml/search.xml?searchFocus.counties=2

 

 

How do I begin?
Heisann,

 

 

rather than using the relatively complex xfMaps, I recommend you look into the so-called feature paths functionality introduced in FME 2013. Here is a good intro: http://fmepedia.safe.com/articles/How_To/Reading-XML

 

 

Lykke til med trafikkmeldingene :-)

 

 

David
Hi,

 

 

Just use a text reader, point it to the url and set the parameter to read all at once to yes.

 

After that you can use the XMLFragmenter (elemnts to match : messge) to transform the xml fragments into attributes.

 

Hope this helps,

 

Itay
Don't mind i Finally figured it out. It was really easy actually. just by typing each word I wanted to match in the list of matched object. In the general xml-reader.

 


Reply