Highlighted

Load XML File From Repository

Avatar

Avatar

The_Flex_Viking

Avatar

The_Flex_Viking

The_Flex_Viking

19-11-2008

Assume you declare a process variable of type XML. Is it possible using the Set Value service to fill this variable with an XML file that is in the repository?



I was thinking something like this might work, but it doesn't seem to



Location Expression

/process_data/xml_data /Stuff/data/data.xml

Replies

Highlighted

Avatar

Avatar

The_Flex_Viking

Avatar

The_Flex_Viking

The_Flex_Viking

19-11-2008

Oh, and I know I can read an external XML file using File Utilities, but wanted to know if where was a better/different way.
Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

19-11-2008

You would have to use a Read Content from Repository service to get it out then you can use the SetValue to manipulate as you see fit. The XPath expression cannot access the repository directly.
Highlighted

Avatar

Avatar

The_Flex_Viking

Avatar

The_Flex_Viking

The_Flex_Viking

19-11-2008

Thanks!