[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How can I do to clear a reference from schema in xml

Subject: How can I do to clear a reference from schema in xml
From: "Eder de Oliveira" <eder@xxxxxxxxxxxxx>
Date: Mon, 5 Jan 2004 09:49:39 -0300
how to reference a schema
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.