Skip to main content
Solved

parse xml url to feature reader from another xml

  • September 28, 2016
  • 6 replies
  • 5 views

Forum|alt.badge.img

hi all,

I have a question on how to address this. I have an xml that points to another xmls. What Im trying to do is to read the xml form url, get the list of urls pointing to the other xml and read them again so I can list the second nested xmls inside.

Being more clear. Im able to read the xml from url. That sml points to another 50 xml urls that I need to open and use (since inside those xml there are more urls to the zipped data I want).

If if parse the first url to feature reader I cant really get nothing out of it, I have tried also xml flatener,...with no success.

Any tips?

PD: The xml is an atom service to donwload data from.

Best answer by itay

Hola @geodavid76 very strange indeed and I would let Safe know about this issue. Apparently the GEORSS reader cant handle this source directly.

Luckily there is more than one way to get things done via FME.

This is my take on it, hope this helps.

georss2none.fmw

View original
Did this help you find an answer to your question?

6 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 28, 2016

Hi @geodavid76 Yes, have you tired the GeoRSS/RSS Feed reader? makes life a bit easier.


Forum|alt.badge.img
  • Author
  • September 28, 2016
itay wrote:

Hi @geodavid76 Yes, have you tired the GeoRSS/RSS Feed reader? makes life a bit easier.

 

I have tried, however when I parse the URL to the reader and run it I get an error saying that the Http://xxxxx.xml. does not exists in local, what is strange on the other side since reader should be able to read url so far that I know

 


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 28, 2016
geodavid76 wrote:

 

I have tried, however when I parse the URL to the reader and run it I get an error saying that the Http://xxxxx.xml. does not exists in local, what is strange on the other side since reader should be able to read url so far that I know

 

Any chance of sharing your source Feed?

 

 


Forum|alt.badge.img
  • Author
  • September 28, 2016
test-xml.xml

this is one of the xmls im having issues with. the main xml has other xmls inside and I need to read those to be able to get the urls to download the gml data.


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • Best Answer
  • September 28, 2016

Hola @geodavid76 very strange indeed and I would let Safe know about this issue. Apparently the GEORSS reader cant handle this source directly.

Luckily there is more than one way to get things done via FME.

This is my take on it, hope this helps.

georss2none.fmw


Forum|alt.badge.img
  • Author
  • September 29, 2016

Works perfectly now, I also tried that way but was missing to expose the attributes in the correct way. Im new on xml readers and this help was very useful. Thanks so much @itay!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings