[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member