Ed(_dot_)Trembicki-Guy(_at_)marsh(_dot_)com wrote:
<ACORD xmlns="http://www.ACORD.org/standards/PC_Surety/ACORD1.4.1/xml/"
xmlns:Marsh="http://www.marsh.com/"
I can specify this element in my xslt template as:
<xsl:element name="ACORD" namespace="
http://www.ACORD.org/standards/PC_Surety/ACORD1.4.1/xml/" >
but I can find no documentation on how to reproduce the second namespace
directive or the schema directive.
It is enough to declare the namespaces somewhere, for example in the
stylesheet element. For example
<xsl:stylesheet
xmlns="http://www.ACORD.org/standards/PC_Surety/ACORD1.4.1/xml/"
xmlns:Marsh="http://www.marsh.com/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xsl:template match="/">
<ACORD
xsi:schemaLocation="http://www.ACORD.org/standards/PC_Surety/ACORD1.4.1/xml/
C:\MYDOCU~1\Marsh\ACORD\XSD\Marsh_ACORD_1-4-1.xsd">
...
The processor will output the necessary namespace ddeclarations
automatically in a way which makes the resulting document
namespace-valid.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list