January 9, 2009 at 1:34 am
The XML file that i am reading is used as a configuration file to determine the nodes that correspond with a tree structure inside SharePoint. And also the xml files that are used in the individual nodes.
I.E.
The file is like this:
The type gives the name of the object and the value gives the path of the node that correspondents or has to correspond with a directory structure. The names can also be used as numbers so you know how deep you have to go in the tree structure.
Within the node there are
The source is interesting.
The result should be:
variables: @type= Method (value)
@path= Method (type)
@file = Method.xml (source)
When i use a for each nodelist enumerator with the following parameters:
Enumerationtype : Node
OuterXpathstring: //Node/*
Variable mapping to user:Node type is object
When i use a script to show the value.
It shows System.xml.XmlElement.
Now i want to convert this object to the variables. I am working on it and a little help is much appreciated
:hehe:
January 10, 2009 at 1:01 am
Well thanx anyway folks i fixed it myself again. Using the elementenumerator. set the outerxpath query on the deepest level. The innerpath query on the current level. In script you can get the xlmelement and do whatever you like by getting it's variables.
Actuallly very simple.
Thanx
:hehe:
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply