AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.04.2013, 00:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Dynamics AX 2012 Services: Applying a XSL transform to a AIF XML document (Outbound Port) selects each value in the whole document instead of the elements specified
Источник: http://blogs.msdn.com/b/axsupport/ar...specified.aspx
==============

For example, the following XML document is created for a customer sales invoice.







{7F99293C-0469-4D50-8489-0C5E5CF2741C}

http://schemas.microsoft.com/dynamics/2008/01/services/SalesSalesInvoiceService/read











USD

10

1104

2008-06-27

en-us

1104



2008-06-27

101076





SalesInvoice

en-us













And you add the following XSL transform on the outbound port:









































It produces the following result:







{F12B1037-B6DC-4BB9-BAD3-B4236422839E}http://schemas.microsoft.com/dynamic...esInvoiceen-us









You would expect the following result:







10









Resolution:



The attached XSL was not taking into account the namespaces within the XML schema. The following XSL is correct. Please use this as a reference for building XSL transforms for our Dynamics AX 2012 documents. There is no product issue here.



<span style="color: #0000ff; font-family: Consolas; font-size: x-small;"><span style="color: #0000ff; font-family: Consolas; font-size: x-small;">






































Источник: http://blogs.msdn.com/b/axsupport/ar...specified.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Install multiple instances of Reporting Services on the same computer (for use with Microsoft Dynamics AX) [AX 2012] Blog bot DAX Blogs 0 14.09.2012 03:21
Sample Design Patterns: Book Give-away: 'Microsoft Dynamics AX 2012 Development Cookbook' Blog bot DAX Blogs 1 12.05.2012 16:55
emeadaxsupport: Microsoft Dynamics AX 2012 Reporting Services – Scale-out deployments Blog bot DAX Blogs 0 28.11.2011 00:14
emeadaxsupport: Microsoft Dynamics AX 2012: Install multiple instances of Reporting Services extensions on the same machine Blog bot DAX Blogs 0 22.09.2011 20:11
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 01:06.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.