|
|
Choosing A Webhost: |
[bdbxml] Query multiple element's subelement?: msg#00001db.dbxml.general
Hi all... I have a XML document stored in dbxml that looks like: <?xml version="1.0" standalone="no" ?> <manifest> <metadata> <schema>ADL SCORM</schema> <schemaversion>1.2</schemaversion> <lom xmlns="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1" > <general> <title> <langstring xml:lang="en-US">Academic ADL Co-Lab</langstring> </title> <description> <langstring xml:lang="en-US">A description</langstring> </description> <keyword> <langstring xml:lang="en-US">SCORM</langstring> </keyword> <keyword> <langstring xml:lang="en-US">SCORM2</langstring> </keyword> </general> Etc. I am attempting to search the langstring value under keyword, but I can't seem to get results for 'SCORM2'. My query looks like: contains(/xmlns:lom/xmlns:general/xmlns:keyword/xmlns:langstring/text(), 'SCORM2'). I never get results for any keyword but the first one (i.e. in the example above, I would have to search for SCORM to get a result). If I do: contains(/xmlns:lom/xmlns:general/xmlns:keyword[position()=2]/xmlns:lang string/text(), 'SCORM2') Then I would get results. Any ideas? Thanks, John
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [bdbxml] mailing list membership reminder, John Merrells |
|---|---|
| Next by Date: | [bdbxml] XML database server (update), Allan Kelly |
| Previous by Thread: | [bdbxml] mailing list membership reminder, John Merrells |
| Next by Thread: | [bdbxml] XML database server (update), Allan Kelly |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |