on 04-16-2015 1:41 PM
Hi folks,
I want to move the first 3 Row elements of some Output XML to a new XML having structure /Rowsets/Rowset
So far, i was using an repeater but I was wondering if it can be done using xpath without looping? I tried the following approach - but without success. I only get the first Row node:
The Link Type is "Append to XML". I changed some options and xpaths, but had no success.
Is that possible at all or do I need to loop over that set defined by position()<3 anyway?
Thanks for your help!
Hi Marco,
You will have to iterate through it even after you use position() as after this as welll you get an rowset, and assigment would apply on the most recent one(i guess the recent one).
Using Rowset/Row[1] to get the first row ànd same for 2nd and 3rd, you can avoid repeater.
Anyways you would be doing the same.
Hope it helps.
Best Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian, sounds interesting.
I did not come accross that topic so far, just reading throught it.
One question regarding performance...I am just facing some issue with mii15 sp2. Seems like the JOIN QUERY is still buggy...as well as the JOIN MDO...so I have to go for the XML GENERIC SORTFILTER / XML JOINER.
Is there a chance to get better performance using xlst to sort/filter XML files? or can i even use it for joining data?
Thanks for a brief feedback!
You can certainly use xslt for that kind of stuff and probably get better performance vs building your logic using repeaters etc. Some of the actions use xsl under the covers anyway so it really depends. I think for what your are trying to do the database level will always perform the best. If you are running into trouble meeting your requirements using MDO you may want to consider implementing a traditional db.
User | Count |
---|---|
9 | |
7 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.