XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] namespace question


See http://www.dpawson.co.uk/xsl/sect2/N5536.html

-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com] 
Sent: 10 March 2007 10:25
To: 'Garvin Riensche'; xml-dev@lists.xml.org
Subject: RE: [xml-dev] namespace question

Google for "FAQ XPath default namespace".

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Garvin Riensche [mailto:g.riensche@gmx.net] 
> Sent: 10 March 2007 10:17
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] namespace question
> 
> Hi there,
> 
> I am not very familar with namespaces, so it would be nice if 
> someone coult help me with the following simple example:
> 
> <unit xmlns="http://www.sdml.info/srcML/src";>
> 	<namespace>
> 		<type_decl id="CB;" name="B" type="class">
> 		...
> 		</type>
> 	</namespace>
> </unit>
> 
> This is part of the xml that is produced by srcML, a tool for 
> converting Java to XML. As you can see srcML has its own 
> namespace. My question is, how i can adress parts of the 
> subtree with XPath from an XSLT Stylesheet. For example:
> 
> <xsl:copy-of select="/unit/namespace"/>
> 
> doesn't return anything. But if i delete the xmlns attribute 
> the tree below "<namespace>" is returned.
> 
> Regards,
> Garvin
> 
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php


This email originates from AXA Services Limited (reg. no. 446043) which is a service company for AXA UK plc (reg. no. 2937724) and the following companies within the AXA UK plc Group:

AXA Insurance Plc (reg. no. 932111)

AXA Insurance UK Plc (reg. no. 78950)

AXA General Insurance Limited (reg. no. 141885)



All of the above mentioned companies are registered in England and have their registered office at 5 Old Broad Street, London EC2N 1AD, England.



AXA Insurance UK plc is authorised and regulated by the Financial Services Authority.



This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system.



Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group.



Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission.



Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS