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

Adding prefix to elements when I import a XML file

Subject: Adding prefix to elements when I import a XML file
From: La RKO <la_rko@xxxxxxxx>
Date: Wed, 31 Oct 2007 10:47:47 +0100 (CET)
 Adding prefix to elements when I import a XML file
Suppose that I want to import a xml file into another
file.
 
The file that I want to import is like:
 
<document>
<head>this is a headline</head>
<text>this is the text</text>
<caption>this is the caption</caption>
</document>
 
to do that I use copy-of-select=document(file.xml)...
and it works fine. 
 
But I want at the same time to add a prefix to some of
the tags of the imported file, in order to have a
output like:
 
<document>
<xed:head>this is a headline</xed:head>
<xed:text>this is the text</xed:text>
<xed:caption>this is the caption</xed:caption>
</document>
 
My question is how can I do that? Import and
transforming at the same time?
 
Thanks in advance,

Virginia


       
______________________________________________ 
Pregunta, Responde, Descubre. 
Comparte tus consejos y opiniones con los usuarios de Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome

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.