Jump to content

How to choose DATA line in XML portal export?


nycpost
 Share

This topic is 4423 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I'm exporting a form with a portal on it using XML and then transforming using XSLT into an Excel doc. In the XML export, all the portal rows show up like this:

...

<Shipment_Description>

<DATA>BT01L - LTO Primary Left</DATA>

<DATA>BT01R - LTO Primary Right</DATA>

<DATA>CT01L - LTO Primary Left</DATA>

<DATA>CT01R - LTO Primary Right</DATA>

<DATA>AT04L - LTO Primary Left</DATA>

<DATA>AT04R - LTO Primary Right</DATA>

<DATA>AT05L - LTO Primary Left</DATA>

<DATA>AT05R - LTO Primary Right</DATA>

<DATA>AT06L - LTO Primary Left</DATA>

<DATA>AT06R - LTO Primary Right</DATA>

</Shipment_Description>

</ROW>

</FMPDSORESULT>




When I try to reference the field "Shipment Description" in the XSL like so:




<xsl:value-of select="fmp:Shipment_Description" />

...in an attempt to place the values in different rows in the Excel doc, it inserts all of the values when I really want to insert one value per row. Is there any way to stipulate in an XSL which DATA line you want within the field? For instance, DATA 1, DATA 2, DATA 3, etc.? Or is it an all or nothing situation?

Thanks,

Mike

Link to comment
Share on other sites

This topic is 4423 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.