xsl-list
[Top] [All Lists]

[xsl] xmlns print and enumerate

2006-03-08 12:35:49
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>