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

Styling xml values into xml namespace tags

Subject: Styling xml values into xml namespace tags
From: Trem Stamp <trem@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 08 Nov 2000 19:15:55 +1100
xml values
Hi,

I'd like to know if, when styling an xml into another xml format, it is
possible to use a value from the first to generate a node in the second
in the format of a valid namespace (ie. defined at the top of the xml).

For example if I want to use the type attribute as part of the namespace
in the output xml (assuming it was referenced in the second xml as a
valid namespace ie xmlns:Book="http://www.examples.eg">):

If the first xml looked similar to.

//

 <entry Id="111766" type="Book">
  <title>The Hobbit</title>
  <description>Fantasy</description>
  </entry>

//

Could it be output as:

<label:Book>
    <name>The Hobbit</name>
    <description>Fantasy</description>
</label:Book>


I've had a look around but can't find an example of this type of thing.

Thanks,

Trem


 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.