on 09-17-2014 10:59 AM
Hi All,
We are using PI7.0.
We have extracted xml a exchange rate URL and it has the reference to a xsl in it as below
<?xml version="1.0" encoding="ISO-8859-9"?><?xml-stylesheet type="text/xsl" href="ABC.xsl"?>.
So XML is not getting displayed in sxmb_moni. Please let me know if it Is possible to remove this refrence from xml in PI.
Hi Pavi,
May be i misunderstood your real problem, but if you only want to omit the tag "<?xml-stylesheet type="text/xsl" href="ABC.xsl"?", you can do the next XSL-mapping,
Source XML:
<?xml version="1.0" encoding="ISO-8859-9"?>
<?xml-stylesheet type="text/xsl" href="ABC.xsl"?>
<a>
<b>2</b>
</a>
XSL to skip the tag:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"/>
<xsl:template match="/">
<xsl:copy-of select="/a"/>
</xsl:template>
</xsl:stylesheet>
Target XML:
<?xml version="1.0" encoding="UTF-8"?>
<a>
<b>2</b>
</a>
Hope this helps.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To display the XML either change "text/xsl" to "text/xml" or remove the entire line <?xml-stylesheet type="text/xsl" href="ABC.xsl"?>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.