xsl-list
[Top] [All Lists]

Re: [xsl] XML with Default Namespace

2007-08-01 21:28:57
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--