on 2017 Oct 31 11:19 AM
Hello Experts,
I am working on a XSL transformation. 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 document () in XSL. In document function, I need to provide the path from where document is to be loaded.
Syntax:
<xsl:param name="replacements" select="document('TestExample.xml')"/>
This logic is working fine when I use native desktop editor.
Now I am trying to use the same logic in MII.
I have already tried to map Local/Transaction variable path.
<xsl:param name="replacements" select="document('Local.TestExample.xml')"/>
I also tried to give path of xml file from web folder.
<xsl:param name="replacements" select="document('web://<ProjectName>/InputXML.xml')"/>
----------------------------------
<xsl:param name="replacements" select="document('https://<server>:<port>/XMII/CM/<ProjectName>/InputXML.xml')"/>
But both methods didn't work as expected.
Can someone help me how I can give a path to this document URL in MII transaction?
Regards,
Minakshi
Request clarification before answering.
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.
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.