Subject: xmlns print and enumerate
From: M V <idmichele@xxxxxxxx>
Date: Wed, 8 Mar 2006 20:35:19 +0100 (CET)
|
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
|