Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Load XML File From Repository

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

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

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

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.

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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.

Avatar

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
The_Flex_Viking
Level 3

Likes

2 likes

Total Posts

121 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
The_Flex_Viking
Level 3

19-11-2008

Thanks!