Hi all,

I have been using the XPath Parser with several large xml files and am having trouble figuring out how to make one node rather than multiple nodes for the xml data. I am trying to create a single node that contains a bunch of links, but the problem is I do not know how many links I need, and therefor cannot match each snippet of the xml with a field. Instead, I have created a single link field with unlimited values, but cannot figure out how to get the xml parser to populate the links in the single node instead of creating a new node for each link.

Is there a way to do something like this?

Thanks.

Comments

steinmb’s picture

Hi
No answer to your problem but have also been trying to do this. Have been digging around without finding any clues. Perhaps you have to write your own importer?

coolbeans100’s picture

That's what I'm thinking. Although I am currently trying another method, where I am creating a taxonomy vocabulary and then going to use views to have one page where I can display the data I need. However, the only problem is I am going to be creating A LOT of nodes. But I think that should be relatively easy to get working properly.

coolbeans100’s picture

Probably even easier to avoid taxonomy and just create a view using specific node

twistor’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

You can create one node by setting the context to ".".

Closing out old issues. If you're still having this problem, feel free to re-open it.