Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XML with Default Namespace


Subject: Re: [xsl] XML with Default Namespace
From: "Karl Stubsjoen" <kstubs@xxxxxxxxx>
Date: Wed, 1 Aug 2007 21:28:34 -0700

Ok, so I do not understand what the default namespace is if I have:

<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">

....

And then, the next element under this is:
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">

So is my xpath:

select="/Workbook/DocmentProperties"

Or:

select="/xmlns:Workbook/xmlns:DocmentProperties"

Thanks.


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor