Problem solve Get help with specific problems with your technologies, process and projects.

IE error when XML file is pasted to Notes page

I have a simple XML file:

<?xml version='1.0'?>
<?xml-stylesheet type='text/xsl' href='xslOrder.xsl' ?>
<item name='TypeOrder'>
<item name='CodCustomer'>

with an XSL file:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="uri:xsl">
    <xsl:template match="/">
	<table border="1">
	<tr style="font-weight:bold">
          <td>Type Order</td>
	<xsl:for-each select='note'>
    <xsl:template match='item'>
       <td><xsl:value-of select='text'/></td>

I have files in the same directory, and it works fine, but if I copy the XML and XSL into a Notes pages, an error occurs in MS ie browser. WHY?

This is most likely due to the fact the paths stored in the XML files are no longer valid. Specifically, look at the href parameter of the style sheet. It uses a relative reference to point to the style sheet. This is no longer valid when you place the files in to a Notes document.

Dig Deeper on Domino Resources - Part 8

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...