<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: XSLT Document function use in MII Transaction in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaa-p/541349#M3022</link>
    <description>&lt;P&gt;Thanks Christian.&lt;/P&gt;
  &lt;P&gt;The approach works fine with few more modification. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 10:28:04 GMT</pubDate>
    <dc:creator>soni_minu</dc:creator>
    <dc:date>2017-11-01T10:28:04Z</dc:date>
    <item>
      <title>XSLT Document function use in MII Transaction</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaq-p/541347</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I am working on a &lt;STRONG&gt;XSL transformation&lt;/STRONG&gt;. This XSL transformation is combining 2 XML documents. The 1st document is the one on which the XSL transformation is being applied. The 2nd XML document is referenced using &lt;STRONG&gt;document () in XSL&lt;/STRONG&gt;. In document function, I need to provide the path from where document is to be loaded.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;xsl:param name="replacements" select="document('TestExample.xml')"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This logic is working fine when I use native desktop editor. &lt;/P&gt;
  &lt;P&gt;Now I am trying to use the same logic in MII. &lt;/P&gt;
  &lt;P&gt;I have already tried to map Local/Transaction variable path. &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;xsl:param name="replacements" select="document('Local.TestExample.xml')"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I also tried to give path of xml file from web folder. &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;xsl:param name="replacements" select="document('web://&amp;lt;ProjectName&amp;gt;/InputXML.xml')"/&amp;gt;
----------------------------------


&amp;lt;xsl:param name="replacements" select="document('https://&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/XMII/CM/&amp;lt;ProjectName&amp;gt;/InputXML.xml')"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But both methods didn't work as expected.&lt;/P&gt;
  &lt;P&gt;Can someone help me how I can give a path to this document URL in MII transaction?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Minakshi&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 11:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaq-p/541347</guid>
      <dc:creator>soni_minu</dc:creator>
      <dc:date>2017-10-31T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: XSLT Document function use in MII Transaction</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaa-p/541348#M3021</link>
      <description>&lt;P&gt;I would just use the link editor to append or build your documents before you apply the transform. With enough trial and error you may get the document() function working but I am not sure it's worth the effort here when you can just build/manipulate xml/xsl however you want within the transaction engine.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaa-p/541348#M3021</guid>
      <dc:creator>former_member185280</dc:creator>
      <dc:date>2017-10-31T18:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: XSLT Document function use in MII Transaction</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaa-p/541349#M3022</link>
      <description>&lt;P&gt;Thanks Christian.&lt;/P&gt;
  &lt;P&gt;The approach works fine with few more modification. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 10:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/xslt-document-function-use-in-mii-transaction/qaa-p/541349#M3022</guid>
      <dc:creator>soni_minu</dc:creator>
      <dc:date>2017-11-01T10:28:04Z</dc:date>
    </item>
  </channel>
</rss>

