Jump to content
We've recently updated our Privacy Statement, available here ×

Use xml parameter


maanchenoo75

Recommended Posts

Hello
I need to use an xml as a report parameter.
I have tried to run the available guides and then to create a data adapter to indicate the xml, but then I cannot access the xml nodes.
Can anyone tell me how:
1) add an xml parameter which can be either a file or the xml content passed from outside
2) select a node of the xml to then draw the content in the report?

Thank you

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Your question is 'use as report parameter', so it may not be helpful, but here is an example for 'use as report data'.
If you can give me a link to the guide you referenced, I might be able to notice something.

- Sample XML file
 

<?xml version="1.0" encoding="utf-8" ?><members><member>  <No>1</No>  <Name>AAA</Name>  <AddDay>2020/12/10</AddDay></member><member>  <No>2</No>  <Name>BBB</Name>  <AddDay>2021/04/1</AddDay></member><member>  <No>3</No>  <Name>CCC</Name>  <AddDay>2019/10/11</AddDay></member></members>

 

- DataAdapter

w20210819_dataadapter.png.6c75863f2084b2ecea017a291b5ddc02.png


- Dataset and Query Dialog

w20210819_datasetquery.png.31009af4365ed1d48e3d66e84473d518.png


- Data Preview

w20210819_datapreview.png.040cf3ffb69258591a17c33f3afa96ef.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...