[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Ed.Trembicki-Guy@xxxxxxxxx wrote:
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Creating namespace and schema directives
Subject: Re: [xsl] Creating namespace and schema directives From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Fri, 12 Dec 2003 17:45:17 +0100 |
Ed.Trembicki-Guy@xxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Creating namespace and schema, Ed . Trembicki-Guy | Thread | RE: [xsl] Creating namespace and sc, Michael Kay |
[xsl] <br>-type template match for , John Dunning | Date | RE: [xsl] xsl:number and performanc, Michael Kay |
Month |