Subject: Re: [xsl] How can I do to clear a reference from schema in xml From: Manos Batsis <mbatsis@xxxxxxxxxxx> Date: Mon, 05 Jan 2004 14:10:40 +0200 |
<xsl:attribute name="schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance"> http://www.cnpq.br/2002/XSD/lattes%20Caminho%20do%20Schemadocumento.xsd</xsl:attribute>
How can I do to clear a reference from schema in XML? Hi people! I am trying to insert an attribute with a namespace, but this namespace is a reference to schema in XML, and it isn't work. This is my code:
<xsl:template match="CURRICULUM-VITAE"> <xsl:element name="CURRICULUM-VITAE" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xsl:attribute name="xsi:schemaLocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.cnpq.br/200 2/XSD/lattes Caminho do Schema + documento.xsd</xsl:attribute> <xsl:apply-templates/> </xsl:element> </xsl:template>
And the out to transformation is OK, but if already exists a reference either in XML.
My question is:
first, How can I do to clear a reference from schema in XML?
last, How can I do to insert a reference a new schema on same XML?
thanks Eder de Oliveira
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How can I do to clear a refer, Eder de Oliveira | Thread | RE: [xsl] Problem sorting alphabeti, David . Pawson |
[xsl] How to put sorted nodes into , ongeaddresseerd onge | Date | [xsl] How can I do to clear a refer, Eder de Oliveira |
Month |