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

xmlns print and enumerate

Subject: xmlns print and enumerate
From: M V <idmichele@xxxxxxxx>
Date: Wed, 8 Mar 2006 20:35:19 +0100 (CET)
xmlns print
Hi All,

I have a couple of questions for XSLT 1.0:

Given the document

<a/>

howe do I transform it to:

<b xmlns:h='http://foo'/> 

(Can be read also: how do I explicitly create/print
xmlns that are not used in the output document ?)

and given 

<a xmlns:h='http://foo'/> 

how do I transform it to:

<b>
 <ns prefix='h' uri='http://foo'/>
</b>

(Can be read also: how do I enumerate xmlns present in
the serialized document ? 
In the example source document there is the somehow
'special' case of a 
xmlns that produces a ns binding but is not used by
any name)

Thanks in advance,
Michele Vivoda




	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

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.