This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: AW: name space troubles


take the following example:

<book xmlns="http://www.bookstore.com/book";> 
	<title/>
	<para/>
</book>

How would I come to this result:

<book>
	<title/>
	<para/>
</book>

It seams so simple, but I couldn't come up with a solution....

Roman

-----Ursprüngliche Nachricht-----
Von: Américo Albuquerque [mailto:aalbuquerque@viseu.ipiaget.pt]
Gesendet: Montag, 27. Mai 2002 16:09
An: xsl-list@lists.mulberrytech.com
Betreff: RE: AW: [xsl] name space troubles


Doing so don't you have to make sure that the xsl elements belong to the
same namespace?
And what happens to element prefixes when you strip the namespaces?


-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Roman
Huditsch
Sent: segunda-feira, 27 de Maio de 2002 14:53
To: xsl-list@lists.mulberrytech.com
Subject: AW: AW: [xsl] name space troubles


ok, but if I want my result tree to be free from any namespace that has been
declared in my source tree, how would I deal with that? Is there a way to
delete the declaration?

regards,
Roman

-----Ursprüngliche Nachricht-----
Von: David Carlisle [mailto:davidc@nag.co.uk]
Gesendet: Montag, 27. Mai 2002 15:41
An: xsl-list@lists.mulberrytech.com
Betreff: Re: AW: [xsl] name space troubles



> That means that an name-space declaration isn't addressable in any way?

Namespace declarations cause namespace nodes to be generated in the
input tree (on all elements for which the namespace is in scope)
These are addressable via the namespace:: axis.

The declarations are not considered to be attributes and are not in the
attribute:: axis.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]