Osman Posted December 10, 2007 Posted December 10, 2007 hi, i am trying to export repating values xml with a stylesheet. i am using fmpdsoresult grammar. I try writing "fmp:FMPDSORESULT/fmp:ROW/fmp:a[repeatition number]" but it does not work. i have searched past topics but cant find a solution. how do i get repeating values from fmpdsoresult grammar?? thanks
comment Posted December 11, 2007 Posted December 11, 2007 Try: "./fmp:FMPDSORESULT/fmp:ROW/fmp:YourRepeatingField/fmp:DATA[n]" with n indicating the repetition you want. You really shouldn't be using FMPDSORESULT - it's been deprecated.
Osman Posted December 11, 2007 Author Posted December 11, 2007 thanks for your help, but it is not worked : the reason that i am using dso result is giving exact field names within style sheets, i may confuse numbers that representing fields. if i change export order style sheet does not work properly in XMLRESULT. whats the differences btw DSO and XML result grammars?? and what is the advantages of XML result.
comment Posted December 11, 2007 Posted December 11, 2007 It works for me, so there must be something before this part that's different. Do you start your template with or something different? With DSO, if you change a field's name it will break. I'd more comfortable with "marrying" the style sheet to the export order than to field names - more chances of remembering changing one requires changing the other. But I think the main reason not to use it is that it might not be there in next versions.
Recommended Posts
This topic is 6190 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now