Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function returns an entire XML document given a publication_id as first argument. The second argument is currently unused.

Code Block
languagesql
SELECT xml.f_patent_document(1, null);

...

Similar to the function above, this function returns a SET OF XML documents, one document per row. Arguments are identical to function above.

Code Block
languagesql
SELECT xml.f_patent_document_s(t.publication_id, null)
FROM xml.t_patent_document_values AS t
WHERE t.published='20100407';

...

This function takes a ucid (unique character ID) and converts it to an integer publication_id.

Code Block
languagesql
SELECT xml.f_patent_document(xml.f_ucid2id('US-5551212-A'), null);

...