Nothing Special   »   [go: up one dir, main page]

US7458018B2 - System and method for obtaining and using namespace related information for opening XML documents - Google Patents

System and method for obtaining and using namespace related information for opening XML documents Download PDF

Info

Publication number
US7458018B2
US7458018B2 US10/185,940 US18594002A US7458018B2 US 7458018 B2 US7458018 B2 US 7458018B2 US 18594002 A US18594002 A US 18594002A US 7458018 B2 US7458018 B2 US 7458018B2
Authority
US
United States
Prior art keywords
xml document
solution
application program
namespace
solutions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US10/185,940
Other versions
US20040205470A1 (en
Inventor
Brian Michael Jones
Marcin Sawicki
Robert Andrew Little
Daniel Robert Snyder
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corp filed Critical Microsoft Corp
Priority to US10/185,940 priority Critical patent/US7458018B2/en
Assigned to MICROSOFT CORPORATION reassignment MICROSOFT CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: JONES, BRIAN M., LITTLE, ROBERT A., SAWICKI, MARCIN, SNYDER, DANIEL R.
Publication of US20040205470A1 publication Critical patent/US20040205470A1/en
Application granted granted Critical
Publication of US7458018B2 publication Critical patent/US7458018B2/en
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC reassignment MICROSOFT TECHNOLOGY LICENSING, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MICROSOFT CORPORATION
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/131Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes

Definitions

  • Extensible Markup Language has attained wide popularity in recent years.
  • XML is a universal language that provides a way to identify, exchange, and process various kinds of data.
  • XML is used to create documents that can be utilized by a variety of application programs of different manufacture.
  • An XML document is usually identified by a namespace, which may be used to identify what type of XML document it is.
  • An application program may use the namespace to decide how to handle the document. In order to open the XML document and present the content of the document in a meaningful way, the application program must decide how the XML elements should be mapped into the objects used by the application program.
  • a conventional application program may open the XML document by applying a transform, which is used to convert the XML document into an XML document that is in the application program's own namespace.
  • the transform would likely not incorporate a rich mapping to the structure of the application program.
  • the plain looking document that results from applying this type of universal transform provides a poor user experience.
  • the conventional application program may prompt the user to provide an applicable transform, such as an Extensible Style Language (XSL) transform.
  • XSL Extensible Style Language
  • the user would have to know which particular XSL transform is applicable to convert the XML document as well as the location of that XSL transform. While there is a greater chance that this chosen solution will give the user a much richer experience, these extra steps create delays and require undue effort by the user. Also, the steps would likely have to be repeated each time the application program encounters another XML document. Moreover, unsophisticated users may be confused when prompted for an XSL transform.
  • XSL Extensible Style Language
  • this invention is directed toward a system and method for obtaining and using namespace related information for opening an XML document and presenting the information in a meaningful way.
  • a namespace library contains namespace related information indexed by namespaces.
  • An application program is configured to open XML documents where each of the XML documents may refer to one or more namespaces.
  • the application program is configured to query the namespace library to locate namespace related information associated with the namespace and to use the namespace related information for opening the XML document.
  • the namespace related information includes a solution and the application program is configured to use the solution to open the XML document.
  • the invention is directed toward a computer-implemented method for opening an XML document.
  • the method determines at least one namespace contained in the XML document and queries a namespace library using the namespace to identify namespace related information associated with the determined namespace. The identified namespace related information is retrieved. If the namespace related information includes at least one solution, the method applies the solution to open the XML document. Otherwise, the method applies a default solution to open the XML document.
  • FIG. 1 shows an exemplary computing environment in which this invention may be implemented.
  • FIG. 2 illustrates a general overview of the invention implemented within the computing environment shown in FIG. 1 .
  • FIG. 3 is a screenshot of a document-opening dialog of an exemplary user interface associated with a namespace responsive application program.
  • FIG. 4 is a screenshot of an exemplary option-selection dialog.
  • FIG. 5 is an operational flow diagram illustrating a process that may be used by a namespace responsive application program to open an XML document.
  • this invention is directed toward a system and method for obtaining and using namespace related information for presenting XML content.
  • a namespace responsive application program determines one or more namespaces contained in an XML document and queries a namespace library to identify namespace related information, such as a solution related to the namespace.
  • the namespace related information is retrieved and used for opening the XML document.
  • FIG. 1 and the following discussion are intended to provide a brief general description of a suitable computing environment in which the invention may be implemented. Although not required, this invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a personal computer. Generally, program modules include routines, programs, objects, components, data structures and the like that perform particular tasks or implement particular abstract data types.
  • FIG. 1 shows an exemplary computing environment in which this invention may be implemented.
  • Computer 110 offers a computing environment in which the illustrative computer executable components for implementing one embodiment of the invention may operate. Central to this implementation are namespace responsive application programs 115 - 117 and namespace library 150 . Computer 110 also allows namespace responsive application programs 115 - 117 and namespace library 150 to interact with other computers, such as remote computers 121 and 122 , through a network 130 .
  • Local storage 155 may include one or more permanent mass storage devices, such as hard disk drive, tape drive, optical drive, floppy disk drive, and the like. Local storage 155 provides a medium for storing data in computer 110 . This data may include information used by namespace responsive application programs 115 - 117 and namespace library 150 , such as the XML document 157 , namespace related information, and the like. XML document 157 is a document containing content structured with XML markups.
  • Network 130 may be any network capable of connecting computers. Examples of network 130 include a local area network (LAN) and a wide area network (WAN), such as the Internet.
  • LAN local area network
  • WAN wide area network
  • Namespace library 150 is a component of computer 110 that makes namespace related information available to namespace responsive application programs 115 - 117 .
  • namespace related information is indexed by namespaces.
  • Namespace related information is information related to creating, editing, viewing, and using XML documents.
  • solutions which may include XML schemas, transforms, and the like.
  • XML schemas define the structure, content and semantics of XML documents.
  • the transforms may be used by namespace responsive application program 115 - 117 to convert XML documents to a format suitable for presentation.
  • One such type of transforms is an Extensible Style Language (XSL) transform.
  • XSL Extensible Style Language
  • namespace library 150 may include location identifiers (such as a pointer) to solutions and other namespace related information. These location identifiers may be used by namespace responsive application programs 115 - 117 for retrieving the solutions and other namespace related information.
  • Remote computers 121 and 122 are connected to network 130 and are configured to interact with other computers over the network 130 .
  • One type of interaction is to provide information to the other computers.
  • one of the functions performed by remote computers 121 and 122 is to serve as a repository of information.
  • remote computers 121 and 122 may include solution repository 133 , and other repository 137 , respectively.
  • Solution repository 133 is a collection of solution, which may include XML schemas, XSL transforms, standard or non-standard business rules, displaying information, editing permissions, aliases, and the like. Each of the solutions are identified by a particular namespace.
  • Other repository 137 is a collection of other information related to namespaces.
  • solution repository 133 and other repository 137 are each stored in a separate computer. It is to be appreciated that multiple types of repositories may be stored on the same computer, or in any other combination of computers.
  • Namespace responsive application programs 115 - 117 are application programs that are configured to open XML documents, such as XML document 157 . Namespace responsive application programs will be discussed in greater detail in conjunction with FIG. 2 . Briefly stated, when a user commands a namespace responsive application program to open an XML document, the namespace responsive application program may query namespace library 150 to obtain namespace related information that are applicable to the XML document. The namespace responsive application program then opens the XML document using the namespace related information.
  • FIG. 2 illustrates a general overview of the invention implemented within the computing environment shown in FIG. 1 . Illustrated is a namespace responsive application program 116 after being commanded to open an XML document 157 .
  • XML document 157 may include one or more namespaces 210 .
  • the namespaces 210 may uniquely identify XML document 157 and may also identify solutions 221 and other information 223 that are applicable to XML document 157 .
  • User interface 230 is a computer/user interface that allows users to interact with namespace responsive application program 116 .
  • User interface 230 will be discussed in more detail in conjunction with FIGS. 3 and 4 . Briefly stated, user interface 230 enables a user to select a document for opening. If the document is an XML document, user interface 230 may further enable the user to select a solution to apply to the XML document as well as other options.
  • Transformed document 215 is a converted version of XML document 157 after at least one of the solution 221 has been applied to it.
  • Transformed document 215 may be another XML document or a document in another format that the namespace responsive application can handle.
  • Transformed document 215 may contain rich formatting that allows namespace responsive application program 116 to present the document to a user in a more user-friendly or meaningful fashion.
  • Transformed document 215 may include namespaces 217 that are associated with namespace responsive application program 116 , in addition to namespaces 210 in the original XML document 157 .
  • Namespace responsive application program 116 is configured to open XML document 157 and to determine namespaces 210 from XML document 157 .
  • Namespace responsive application program 116 is also configured to query a namespace library 150 (not shown) and retrieve namespace related information 220 associated with namespaces 210 and identified in the namespace library. As shown in the figure, namespace responsive application program 116 may retrieve solution 221 and other namespace related information 223 .
  • Namespace responsive application program 116 uses the namespace related information 200 to handle XML document 157 .
  • namespace responsive application program 116 may determine the structure and semantics of XML document 157 using one of the solutions 221 if it contains a schema.
  • Namespace responsive application program 116 may also apply one of the solutions 221 if it contains a transform. The transform may be applied to XML document 157 to convert the document to transformed XML document 215 .
  • FIG. 3 is a screenshot of a document-opening dialog 300 of an exemplary user interface associated with a namespace responsive application program.
  • Document-opening dialog 300 enables a user to select a document for opening by the namespace responsive application program.
  • documents and directories of documents may be displayed in document display field 310 .
  • XML document 305 has been selected. Because XML document 305 is an XML document, several opening options are available. A user may simply enter an automatic opening command (e.g. by double-clicking) to open the selected document using default opening options. Alternatively, the open options are presented in opening options selection field 315 . One of the opening options is an “Open with Transform” option 320 . The selection of this option 320 triggers a command for the namespace responsive application program to open and convert XML document 305 using a solution that includes a transform. If more options associated with opening XML document 305 using the solution are available, another dialog may be used to offer those options to the user for selection. In particular, if more than one solution is available to XML document 305 , an option-selection dialog may be used to display a list of solutions to the user for selection. The option-selection dialog will be discussed in more detail in FIG. 4 .
  • FIG. 4 is a screenshot of an exemplary option-selection dialog 400 that may be presented in response to selecting the “Open with Transform” option 320 .
  • Option-selection dialog 400 may present solutions to a user for selection. The solutions that are applicable to an XML document to be opened are presented to the user in a solution-selection field 410 .
  • Option-selection dialog 400 may present the solutions using their associated aliases. Aliases are common names that may be used to present namespace related information, such as solutions, in a more user-friendly fashion. As indicated by the aliases, the solutions that are displayed in option-selection dialog 400 are designed to convert the XML document into different resume formats.
  • Option-selection dialog 400 may also present additional features, offered as part of the solutions, in the additional-feature-selection field 430 . These additional features enhance the utilities of the XML document.
  • An example of such additional features is a utility that automatically submits the XML document to a particular Internet address, after the XML document has been converted to a resume format using a solution in option-selection dialog 400 .
  • FIG. 5 is an operational flow diagram illustrating a process that may be used by a namespace responsive application program to open an XML document.
  • Process 500 starts when the namespace responsive application program receives a command to open an XML document. The command may be received through a user-interface of the namespace responsive application program or through a general document-opening dialog of an operating system.
  • process 500 goes to block 510 where one or more namespaces associated with the XML document are determined.
  • namespace related information associated the namespaces determined in block 510 are retrieved from a namespace library.
  • process 500 continues at block 530 where the XML document is opened using a default solution.
  • the default solution may be a universal solution that the namespace responsive application program uses to transform all XML documents that have no associated solution.
  • the process then also continues at block 550 .
  • option selection dialog 400 may be presented to prompt the user with any available options.
  • the options may include alternative solutions if other solutions exist that are applicable to the XML document.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A system and method for obtaining and using namespace related information for presenting XML content. A namespace responsive application program determines one or more namespaces contained in an XML document and queries a namespace library to identify namespace related information, such as a solution related to the namespace. The identified namespace related information is retrieved and used for opening the XML document.

Description

BACKGROUND OF THE INVENTION
Extensible Markup Language (XML) has attained wide popularity in recent years. XML is a universal language that provides a way to identify, exchange, and process various kinds of data. For example, XML is used to create documents that can be utilized by a variety of application programs of different manufacture.
An XML document is usually identified by a namespace, which may be used to identify what type of XML document it is. An application program may use the namespace to decide how to handle the document. In order to open the XML document and present the content of the document in a meaningful way, the application program must decide how the XML elements should be mapped into the objects used by the application program. A conventional application program may open the XML document by applying a transform, which is used to convert the XML document into an XML document that is in the application program's own namespace. However, since the standard transform has to work with many XML documents, the transform would likely not incorporate a rich mapping to the structure of the application program. The plain looking document that results from applying this type of universal transform provides a poor user experience.
Alternatively, the conventional application program may prompt the user to provide an applicable transform, such as an Extensible Style Language (XSL) transform. In this case, the user would have to know which particular XSL transform is applicable to convert the XML document as well as the location of that XSL transform. While there is a greater chance that this chosen solution will give the user a much richer experience, these extra steps create delays and require undue effort by the user. Also, the steps would likely have to be repeated each time the application program encounters another XML document. Moreover, unsophisticated users may be confused when prompted for an XSL transform.
SUMMARY OF THE INVENTION
Briefly stated, this invention is directed toward a system and method for obtaining and using namespace related information for opening an XML document and presenting the information in a meaningful way. A namespace library contains namespace related information indexed by namespaces. An application program is configured to open XML documents where each of the XML documents may refer to one or more namespaces. When the application program is commanded to open an XML document, the application program is configured to query the namespace library to locate namespace related information associated with the namespace and to use the namespace related information for opening the XML document. In one aspect of the invention, the namespace related information includes a solution and the application program is configured to use the solution to open the XML document.
In another aspect of the invention, the invention is directed toward a computer-implemented method for opening an XML document. The method determines at least one namespace contained in the XML document and queries a namespace library using the namespace to identify namespace related information associated with the determined namespace. The identified namespace related information is retrieved. If the namespace related information includes at least one solution, the method applies the solution to open the XML document. Otherwise, the method applies a default solution to open the XML document.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows an exemplary computing environment in which this invention may be implemented.
FIG. 2 illustrates a general overview of the invention implemented within the computing environment shown in FIG. 1.
FIG. 3 is a screenshot of a document-opening dialog of an exemplary user interface associated with a namespace responsive application program.
FIG. 4 is a screenshot of an exemplary option-selection dialog.
FIG. 5 is an operational flow diagram illustrating a process that may be used by a namespace responsive application program to open an XML document.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Briefly stated, this invention is directed toward a system and method for obtaining and using namespace related information for presenting XML content. A namespace responsive application program determines one or more namespaces contained in an XML document and queries a namespace library to identify namespace related information, such as a solution related to the namespace. The namespace related information is retrieved and used for opening the XML document.
FIG. 1 and the following discussion are intended to provide a brief general description of a suitable computing environment in which the invention may be implemented. Although not required, this invention will be described in the general context of computer-executable instructions, such as program modules, being executed by a personal computer. Generally, program modules include routines, programs, objects, components, data structures and the like that perform particular tasks or implement particular abstract data types.
Moreover, those skilled in the art will appreciate that this invention may be practiced with other computer system configurations, including hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
FIG. 1 shows an exemplary computing environment in which this invention may be implemented. Computer 110 offers a computing environment in which the illustrative computer executable components for implementing one embodiment of the invention may operate. Central to this implementation are namespace responsive application programs 115-117 and namespace library 150. Computer 110 also allows namespace responsive application programs 115-117 and namespace library 150 to interact with other computers, such as remote computers 121 and 122, through a network 130.
Local storage 155 may include one or more permanent mass storage devices, such as hard disk drive, tape drive, optical drive, floppy disk drive, and the like. Local storage 155 provides a medium for storing data in computer 110. This data may include information used by namespace responsive application programs 115-117 and namespace library 150, such as the XML document 157, namespace related information, and the like. XML document 157 is a document containing content structured with XML markups. Network 130 may be any network capable of connecting computers. Examples of network 130 include a local area network (LAN) and a wide area network (WAN), such as the Internet.
Namespace library 150 is a component of computer 110 that makes namespace related information available to namespace responsive application programs 115-117. In namespace library 150, namespace related information is indexed by namespaces. Namespace related information is information related to creating, editing, viewing, and using XML documents. One type of namespace related information is solutions, which may include XML schemas, transforms, and the like. XML schemas define the structure, content and semantics of XML documents. The transforms may be used by namespace responsive application program 115-117 to convert XML documents to a format suitable for presentation. One such type of transforms is an Extensible Style Language (XSL) transform. It is to be understood that namespace library 150 may include location identifiers (such as a pointer) to solutions and other namespace related information. These location identifiers may be used by namespace responsive application programs 115-117 for retrieving the solutions and other namespace related information.
Remote computers 121 and 122 are connected to network 130 and are configured to interact with other computers over the network 130. One type of interaction is to provide information to the other computers. Accordingly, one of the functions performed by remote computers 121 and 122 is to serve as a repository of information. As shown in the figure, remote computers 121 and 122 may include solution repository 133, and other repository 137, respectively. Solution repository 133 is a collection of solution, which may include XML schemas, XSL transforms, standard or non-standard business rules, displaying information, editing permissions, aliases, and the like. Each of the solutions are identified by a particular namespace. Other repository 137 is a collection of other information related to namespaces. In the figure, solution repository 133 and other repository 137 are each stored in a separate computer. It is to be appreciated that multiple types of repositories may be stored on the same computer, or in any other combination of computers.
Namespace responsive application programs 115-117 are application programs that are configured to open XML documents, such as XML document 157. Namespace responsive application programs will be discussed in greater detail in conjunction with FIG. 2. Briefly stated, when a user commands a namespace responsive application program to open an XML document, the namespace responsive application program may query namespace library 150 to obtain namespace related information that are applicable to the XML document. The namespace responsive application program then opens the XML document using the namespace related information.
FIG. 2 illustrates a general overview of the invention implemented within the computing environment shown in FIG. 1. Illustrated is a namespace responsive application program 116 after being commanded to open an XML document 157. XML document 157 may include one or more namespaces 210. The namespaces 210 may uniquely identify XML document 157 and may also identify solutions 221 and other information 223 that are applicable to XML document 157.
User interface 230 is a computer/user interface that allows users to interact with namespace responsive application program 116. User interface 230 will be discussed in more detail in conjunction with FIGS. 3 and 4. Briefly stated, user interface 230 enables a user to select a document for opening. If the document is an XML document, user interface 230 may further enable the user to select a solution to apply to the XML document as well as other options.
Transformed document 215 is a converted version of XML document 157 after at least one of the solution 221 has been applied to it. Transformed document 215 may be another XML document or a document in another format that the namespace responsive application can handle. Transformed document 215 may contain rich formatting that allows namespace responsive application program 116 to present the document to a user in a more user-friendly or meaningful fashion. Transformed document 215 may include namespaces 217 that are associated with namespace responsive application program 116, in addition to namespaces 210 in the original XML document 157.
Namespace responsive application program 116 is configured to open XML document 157 and to determine namespaces 210 from XML document 157. Namespace responsive application program 116 is also configured to query a namespace library 150 (not shown) and retrieve namespace related information 220 associated with namespaces 210 and identified in the namespace library. As shown in the figure, namespace responsive application program 116 may retrieve solution 221 and other namespace related information 223.
Namespace responsive application program 116 uses the namespace related information 200 to handle XML document 157. For example, namespace responsive application program 116 may determine the structure and semantics of XML document 157 using one of the solutions 221 if it contains a schema. Namespace responsive application program 116 may also apply one of the solutions 221 if it contains a transform. The transform may be applied to XML document 157 to convert the document to transformed XML document 215.
FIG. 3 is a screenshot of a document-opening dialog 300 of an exemplary user interface associated with a namespace responsive application program. Document-opening dialog 300 enables a user to select a document for opening by the namespace responsive application program. As shown in the dialog, documents and directories of documents may be displayed in document display field 310.
As shown in this figure, XML document 305 has been selected. Because XML document 305 is an XML document, several opening options are available. A user may simply enter an automatic opening command (e.g. by double-clicking) to open the selected document using default opening options. Alternatively, the open options are presented in opening options selection field 315. One of the opening options is an “Open with Transform” option 320. The selection of this option 320 triggers a command for the namespace responsive application program to open and convert XML document 305 using a solution that includes a transform. If more options associated with opening XML document 305 using the solution are available, another dialog may be used to offer those options to the user for selection. In particular, if more than one solution is available to XML document 305, an option-selection dialog may be used to display a list of solutions to the user for selection. The option-selection dialog will be discussed in more detail in FIG. 4.
FIG. 4 is a screenshot of an exemplary option-selection dialog 400 that may be presented in response to selecting the “Open with Transform” option 320. Option-selection dialog 400 may present solutions to a user for selection. The solutions that are applicable to an XML document to be opened are presented to the user in a solution-selection field 410. Option-selection dialog 400 may present the solutions using their associated aliases. Aliases are common names that may be used to present namespace related information, such as solutions, in a more user-friendly fashion. As indicated by the aliases, the solutions that are displayed in option-selection dialog 400 are designed to convert the XML document into different resume formats.
A user may select one of the listed solutions for applying to the XML document and may select to see more options 420 available for opening the XML document. Option-selection dialog 400 may also present additional features, offered as part of the solutions, in the additional-feature-selection field 430. These additional features enhance the utilities of the XML document. An example of such additional features is a utility that automatically submits the XML document to a particular Internet address, after the XML document has been converted to a resume format using a solution in option-selection dialog 400.
FIG. 5 is an operational flow diagram illustrating a process that may be used by a namespace responsive application program to open an XML document. Process 500 starts when the namespace responsive application program receives a command to open an XML document. The command may be received through a user-interface of the namespace responsive application program or through a general document-opening dialog of an operating system.
Moving from a start block, process 500 goes to block 510 where one or more namespaces associated with the XML document are determined. At block 515, namespace related information associated the namespaces determined in block 510 are retrieved from a namespace library.
At decision block 520, a determination is made whether at least one applicable solution is identified in the namespace related information. If at least one applicable solution is identified, process 500 continues at block 525 where the XML document is opened with the identified solution. If more than one solution is identified, the solution indicated as the preferred solution may be used. Process 500 then continues at block 550.
Returning to decision block 520, if no applicable solution is identified, process 500 continues at block 530 where the XML document is opened using a default solution. The default solution may be a universal solution that the namespace responsive application program uses to transform all XML documents that have no associated solution. The process then also continues at block 550.
At block 550, the user is prompted to select other options associated with opening the XML document. These other options are available from namespace related information retrieved at block 515. For example, option selection dialog 400 (FIG. 4) may be presented to prompt the user with any available options. The options may include alternative solutions if other solutions exist that are applicable to the XML document.
At decision block 560, a determination is made whether the user has selected a different solution with which to open the XML document. If so, the process loops back to block 525 and performs again as described above. If not, at block 570, the XML responsive program may enable the user to edit the transformed document or, if commanded by the user, save the transformed document.
The above specification, examples and data provide a complete description of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

Claims (13)

1. A computer-readable storage medium encoded with computer-executable components, comprising:
receiving an XML document having a namespace,
querying a database of solutions with the namespace of the XML document to obtain solution options indexed in the database of solutions by the namespace of the XML document, wherein the query of the database of solutions with the namespace of the XML document causes the identified solution options to be returned to an application program;
when a selection of the XML document within an open document dialog is received, causing the application program to apply a default solution to open the XML document;
when a selection of a transform selector within an open document dialog is received, displaying a list of rich formatting solution options received from the query of the database of solutions;
receiving a selection of at least one of the rich formatting solution options;
retrieving the rich formatting solution identified by the selected solution option from the database of solutions, wherein the rich formatting solution includes at least one feature for enhancing utility of the XML document; and
causing the application program to obtain the rich formatting solution from the database and to apply the rich formatting solution to open the XML document in the rich format,
wherein if the obtained rich formatting solution includes at least one XML schema, causing the application program to use information contained in the XML schema to handle the XML document,
wherein if the obtained rich formatting solution includes at least one transform, causing the application program to apply the transform to convert the XML document to a format that the application program can handle and saving the transformed XML document.
2. The computer-readable storage medium of claim 1, wherein the plurality of solutions indexed by namespaces in the database include a pointer for retrieving a solution option.
3. The computer-readable storage medium of claim 1, wherein the transform is an Extensible Style Language (XSL) transform.
4. The computer-readable storage medium of claim 1, wherein the solutions include at least two solutions, and wherein the application program is configured to present the solutions to a user for selection.
5. The computer-readable storage medium of claim 1, wherein the application program is further configured to insert at least one namespace associating the XML document to the application program.
6. The computer-readable storage medium of claim 1, wherein the solution options are contained in a database, and wherein the application program is configured to retrieve the solution options contained in the database through a network.
7. A computer-implemented method for opening an XML document, comprising:
receiving an XML document having a namespace,
querying a database of solutions with the namespace of the XML document to obtain solution options indexed in the database of solutions by the namespace of the XML document, wherein the query of the database of solutions with the namespace of the XML document causes the identified solution options to be returned to an application program;
when a selection of the XML document within an open document dialog is received, causing the application program to apply a default solution to open the XML document;
when a selection of a transform selector within an open document dialog is received, displaying a list of rich formatting solution options received from the query of the database of solutions;
receiving a selection of at least one of the rich formatting solution options;
retrieving the rich formatting solution identified by the selected solution option from the database of solutions, wherein the rich formatting solution includes at least one feature for enhancing utility of the XML document; and
causing the application program to obtain the rich formatting solution from the database and to apply the rich formatting solution to open the XML document in the rich format,
wherein if the obtained rich formatting solution includes at least one XML schema, causing the application program to use information contained in the XML schema to handle the XML document,
wherein if the obtained rich formatting solution includes at least one transform, causing the application program to apply the transform to convert the XML document to a format that the application program can handle and saving the transformed XML document.
8. In a computer system having a graphical user interface including a display and a user interface selection device, a method for providing and selecting documents for opening by an application program, comprising:
receiving an XML document having a namespace,
querying a database of solutions with the namespace of the XML document to obtain solution options indexed in the database of solutions by the namespace of the XML document, wherein the query of the database of solutions with the namespace of the XML document causes the identified solution options to be returned to an application program;
when a selection of the XML document within an open document dialog is received, causing the application program to apply a default solution to open the XML document;
when a selection of a transform selector within an open document dialog is received, displaying a list of rich formatting solution options received from the query of the database of solutions;
receiving a selection of at least one of the rich formatting solution options;
retrieving the rich formatting solution identified by the selected solution option from the database of solutions, wherein the rich formatting solution includes at least one feature for enhancing utility of the XML document; and
causing the application program to obtain the rich formatting solution from the database and to apply the rich formatting solution to open the XML document in the rich format,
wherein if the obtained rich formatting solution includes at least one XML schema, causing the application program to use information contained in the XML schema to handle the XML document,
wherein if the obtained rich formatting solution includes at least one transform, causing the application program to apply the transform to convert the XML document to a format that the application program can handle and saving the transformed XML document.
9. The computer-implemented method of claim 8, further comprising:
presenting identifiers corresponding to the rich formatting solutions, the rich formatting solutions being associated with the selected XML document; and
receiving a selection of at least one of the rich formatting solutions.
10. The computer-implemented method of claim 9, wherein at least one of the rich formatting solution identifiers is an alias associated with the rich formatting solution.
11. The computer-implemented method of claim 9, further comprising:
presenting additional document-opening options for selection, the document opening options being associated with the selected XML document; and
receiving a selection of at least one of the document-opening options.
12. The computer-implemented method of claim 9, further comprising presenting an identifier corresponding to the at least one feature associated with the rich formatting solution for selection by the user.
13. The computer-implemented method of claim 12, wherein at least one of the feature identifiers is an alias associated with the feature.
US10/185,940 2002-06-27 2002-06-27 System and method for obtaining and using namespace related information for opening XML documents Expired - Fee Related US7458018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/185,940 US7458018B2 (en) 2002-06-27 2002-06-27 System and method for obtaining and using namespace related information for opening XML documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/185,940 US7458018B2 (en) 2002-06-27 2002-06-27 System and method for obtaining and using namespace related information for opening XML documents

Publications (2)

Publication Number Publication Date
US20040205470A1 US20040205470A1 (en) 2004-10-14
US7458018B2 true US7458018B2 (en) 2008-11-25

Family

ID=33129877

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/185,940 Expired - Fee Related US7458018B2 (en) 2002-06-27 2002-06-27 System and method for obtaining and using namespace related information for opening XML documents

Country Status (1)

Country Link
US (1) US7458018B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1672520A2 (en) 2004-12-20 2006-06-21 Microsoft Corporation Context-free document portions with alternate formats
US20060150095A1 (en) * 2002-07-19 2006-07-06 Open Invention Networks Registry driven interoperability and exchange of documents
US8775654B2 (en) 2003-12-19 2014-07-08 Salesforce.Com, Inc. Apparatus and methods for mediating messages
US8838833B2 (en) 2004-08-06 2014-09-16 Salesforce.Com, Inc. Providing on-demand access to services in a wide area network
US9473536B2 (en) 2003-10-14 2016-10-18 Salesforce.Com, Inc. Method, system, and computer program product for facilitating communication in an interoperability network
US9645712B2 (en) 2004-10-01 2017-05-09 Grand Central Communications, Inc. Multiple stakeholders for a single business process

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004062600A (en) * 2002-07-30 2004-02-26 Fujitsu Ltd Conversion method, restoration method, conversion and restoration method and program for structured document
JP4418183B2 (en) * 2003-06-26 2010-02-17 ソニー株式会社 Information processing apparatus and method, program, and recording medium
US7383500B2 (en) 2004-04-30 2008-06-03 Microsoft Corporation Methods and systems for building packages that contain pre-paginated documents
US8661332B2 (en) 2004-04-30 2014-02-25 Microsoft Corporation Method and apparatus for document processing
US7617450B2 (en) * 2004-09-30 2009-11-10 Microsoft Corporation Method, system, and computer-readable medium for creating, inserting, and reusing document parts in an electronic document
US8370423B2 (en) 2006-06-16 2013-02-05 Microsoft Corporation Data synchronization and sharing relationships
US20080109464A1 (en) * 2006-11-06 2008-05-08 Microsoft Corporation Extending Clipboard Augmentation
US8453066B2 (en) 2006-11-06 2013-05-28 Microsoft Corporation Clipboard augmentation with references
US8020112B2 (en) * 2006-11-06 2011-09-13 Microsoft Corporation Clipboard augmentation
US8751442B2 (en) 2007-02-12 2014-06-10 Microsoft Corporation Synchronization associated duplicate data resolution
US7933296B2 (en) * 2007-03-02 2011-04-26 Microsoft Corporation Services for data sharing and synchronization
US20080243874A1 (en) * 2007-03-28 2008-10-02 Microsoft Corporation Lightweight Schema Definition
US7900203B2 (en) * 2007-04-24 2011-03-01 Microsoft Corporation Data sharing and synchronization with relay endpoint and sync data element
US7725456B2 (en) * 2007-04-27 2010-05-25 Microsoft Corporation Item management with data sharing and synchronization
KR20100091165A (en) * 2007-09-28 2010-08-18 엑세리온 악티에볼라그 Network operating system
US8296671B2 (en) * 2008-05-01 2012-10-23 Microsoft Corporation Enabling access to rich data by intercepting paste operations
US10812570B1 (en) * 2017-08-02 2020-10-20 Intuit Inc. System for data consolidation across disparate namespaces
FR3076023A1 (en) * 2017-12-26 2019-06-28 Orange USER INTERFACE WITH IMPROVED INTERACTION BY PRESENTATION OF APPROPRIATE INFORMATIVE CONTENT

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748191A (en) * 1995-07-31 1998-05-05 Microsoft Corporation Method and system for creating voice commands using an automatically maintained log interactions performed by a user
US5963939A (en) * 1997-09-30 1999-10-05 Compaq Computer Corp. Method and apparatus for an incremental editor technology
US5991777A (en) 1997-09-19 1999-11-23 Microsoft Corporation System and method for performing defined actions when grafting the name space of one storage medium into the name space of another storage medium
US6061743A (en) * 1998-02-19 2000-05-09 Novell, Inc. Method and apparatus for aggregating disparate namespaces
US6083282A (en) 1994-10-21 2000-07-04 Microsoft Corporation Cross-project namespace compiler and method
US20010025247A1 (en) * 1997-10-02 2001-09-27 Yasuhiko Nagai System configuration proposal method and tool therefor
US6317749B1 (en) * 1998-09-30 2001-11-13 Daman, Inc. Method and apparatus for providing relationship objects and various features to relationship and other objects
US20020007375A1 (en) * 2000-04-21 2002-01-17 Ricoh Company, Ltd Document management method and computer-readable storage medium storing program code for executing the same
US20020065852A1 (en) * 2000-11-30 2002-05-30 Matt Hendrickson Online guided resume creation system that allows dynamic style formatting
US20020069157A1 (en) * 2000-09-15 2002-06-06 Jordan Michael S. Exchange fusion
US20020069400A1 (en) * 1999-08-16 2002-06-06 Z-Force Corporation System for reusable software parts for supporting dynamic structures of parts and methods of use
US20030014397A1 (en) * 1999-12-02 2003-01-16 International Business Machines Corporation Generating one or more XML documents from a relational database using XPath data model
US20030046316A1 (en) * 2001-04-18 2003-03-06 Jaroslav Gergic Systems and methods for providing conversational computing via javaserver pages and javabeans
US20030061202A1 (en) * 2000-06-02 2003-03-27 Coleman Kevin B. Interactive product selector with fuzzy logic engine
US20030149934A1 (en) * 2000-05-11 2003-08-07 Worden Robert Peel Computer program connecting the structure of a xml document to its underlying meaning
US6611847B1 (en) * 1999-12-30 2003-08-26 Unisys Corporation Method for dynamically linking two objects in two different models
US20030167229A1 (en) * 2001-04-03 2003-09-04 Bottomline Technologies, Inc. Modular business transations platform
US20030172196A1 (en) * 2001-07-10 2003-09-11 Anders Hejlsberg Application program interface for network software platform
US6675353B1 (en) * 1999-07-26 2004-01-06 Microsoft Corporation Methods and systems for generating XML documents
US20040006741A1 (en) * 2002-04-24 2004-01-08 Radja Coumara D. System and method for efficient processing of XML documents represented as an event stream
US20040025117A1 (en) * 2002-07-19 2004-02-05 Commerce One Operations, Inc. Registry driven interoperability and exchange of documents
US20040205496A1 (en) * 2001-10-11 2004-10-14 International Business Machines Corporation Displaying subheadings and hyperlinks in a scrollable long document
US6886004B2 (en) * 2000-08-24 2005-04-26 Red Hat, Inc. Method and apparatus for atomic file look-up
US6925470B1 (en) * 2002-01-25 2005-08-02 Amphire Solutions, Inc. Method and apparatus for database mapping of XML objects into a relational database
US7178102B1 (en) * 2003-12-09 2007-02-13 Microsoft Corporation Representing latent data in an extensible markup language document
US7392479B2 (en) * 2002-06-27 2008-06-24 Microsoft Corporation System and method for providing namespace related information
US7404195B1 (en) * 2003-12-09 2008-07-22 Microsoft Corporation Programmable object model for extensible markup language markup in an application

Patent Citations (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6083282A (en) 1994-10-21 2000-07-04 Microsoft Corporation Cross-project namespace compiler and method
US5748191A (en) * 1995-07-31 1998-05-05 Microsoft Corporation Method and system for creating voice commands using an automatically maintained log interactions performed by a user
US5991777A (en) 1997-09-19 1999-11-23 Microsoft Corporation System and method for performing defined actions when grafting the name space of one storage medium into the name space of another storage medium
US5963939A (en) * 1997-09-30 1999-10-05 Compaq Computer Corp. Method and apparatus for an incremental editor technology
US20010025247A1 (en) * 1997-10-02 2001-09-27 Yasuhiko Nagai System configuration proposal method and tool therefor
US6061743A (en) * 1998-02-19 2000-05-09 Novell, Inc. Method and apparatus for aggregating disparate namespaces
US6317749B1 (en) * 1998-09-30 2001-11-13 Daman, Inc. Method and apparatus for providing relationship objects and various features to relationship and other objects
US6675353B1 (en) * 1999-07-26 2004-01-06 Microsoft Corporation Methods and systems for generating XML documents
US20020069400A1 (en) * 1999-08-16 2002-06-06 Z-Force Corporation System for reusable software parts for supporting dynamic structures of parts and methods of use
US20030014397A1 (en) * 1999-12-02 2003-01-16 International Business Machines Corporation Generating one or more XML documents from a relational database using XPath data model
US6611847B1 (en) * 1999-12-30 2003-08-26 Unisys Corporation Method for dynamically linking two objects in two different models
US20020007375A1 (en) * 2000-04-21 2002-01-17 Ricoh Company, Ltd Document management method and computer-readable storage medium storing program code for executing the same
US20030149934A1 (en) * 2000-05-11 2003-08-07 Worden Robert Peel Computer program connecting the structure of a xml document to its underlying meaning
US20030061202A1 (en) * 2000-06-02 2003-03-27 Coleman Kevin B. Interactive product selector with fuzzy logic engine
US6886004B2 (en) * 2000-08-24 2005-04-26 Red Hat, Inc. Method and apparatus for atomic file look-up
US20020069157A1 (en) * 2000-09-15 2002-06-06 Jordan Michael S. Exchange fusion
US20020065852A1 (en) * 2000-11-30 2002-05-30 Matt Hendrickson Online guided resume creation system that allows dynamic style formatting
US20030167229A1 (en) * 2001-04-03 2003-09-04 Bottomline Technologies, Inc. Modular business transations platform
US20030046316A1 (en) * 2001-04-18 2003-03-06 Jaroslav Gergic Systems and methods for providing conversational computing via javaserver pages and javabeans
US20030172196A1 (en) * 2001-07-10 2003-09-11 Anders Hejlsberg Application program interface for network software platform
US20040205496A1 (en) * 2001-10-11 2004-10-14 International Business Machines Corporation Displaying subheadings and hyperlinks in a scrollable long document
US6925470B1 (en) * 2002-01-25 2005-08-02 Amphire Solutions, Inc. Method and apparatus for database mapping of XML objects into a relational database
US20040006741A1 (en) * 2002-04-24 2004-01-08 Radja Coumara D. System and method for efficient processing of XML documents represented as an event stream
US7356764B2 (en) * 2002-04-24 2008-04-08 Intel Corporation System and method for efficient processing of XML documents represented as an event stream
US7392479B2 (en) * 2002-06-27 2008-06-24 Microsoft Corporation System and method for providing namespace related information
US20040025117A1 (en) * 2002-07-19 2004-02-05 Commerce One Operations, Inc. Registry driven interoperability and exchange of documents
US20060150095A1 (en) * 2002-07-19 2006-07-06 Open Invention Networks Registry driven interoperability and exchange of documents
US7178102B1 (en) * 2003-12-09 2007-02-13 Microsoft Corporation Representing latent data in an extensible markup language document
US7404195B1 (en) * 2003-12-09 2008-07-22 Microsoft Corporation Programmable object model for extensible markup language markup in an application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Namespaces in XML, Jan. 14, 1999, World Wide Web Consortium, <http://www.w3.org/TR/REC-xml-names/>, p. 2. *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060150095A1 (en) * 2002-07-19 2006-07-06 Open Invention Networks Registry driven interoperability and exchange of documents
US7703008B2 (en) * 2002-07-19 2010-04-20 Open Invention Network, Llc Registry driven interoperability and exchange of documents
US20100205522A1 (en) * 2002-07-19 2010-08-12 Open Invention Network, Llc Registry driven interoperability and exchange of documents
US8683321B2 (en) 2002-07-19 2014-03-25 Open Invention Network Registry driven interoperability and exchange of documents
US9792269B2 (en) 2002-07-19 2017-10-17 Open Invention Network, Llc Registry driven interoperability and exchange of documents
US9473536B2 (en) 2003-10-14 2016-10-18 Salesforce.Com, Inc. Method, system, and computer program product for facilitating communication in an interoperability network
US8775654B2 (en) 2003-12-19 2014-07-08 Salesforce.Com, Inc. Apparatus and methods for mediating messages
US8838833B2 (en) 2004-08-06 2014-09-16 Salesforce.Com, Inc. Providing on-demand access to services in a wide area network
US9645712B2 (en) 2004-10-01 2017-05-09 Grand Central Communications, Inc. Multiple stakeholders for a single business process
US11042271B2 (en) 2004-10-01 2021-06-22 Salesforce.Com, Inc. Multiple stakeholders for a single business process
US11941230B2 (en) 2004-10-01 2024-03-26 Salesforce, Inc. Multiple stakeholders for a single business process
EP1672520A2 (en) 2004-12-20 2006-06-21 Microsoft Corporation Context-free document portions with alternate formats

Also Published As

Publication number Publication date
US20040205470A1 (en) 2004-10-14

Similar Documents

Publication Publication Date Title
US7458018B2 (en) System and method for obtaining and using namespace related information for opening XML documents
US7392479B2 (en) System and method for providing namespace related information
KR101046831B1 (en) Computer readable recording media and methods of linking elements in a document to corresponding data in a database
US6745206B2 (en) File system with access and retrieval of XML documents
US7437363B2 (en) Use of special directories for encoding semantic information in a file system
US7624114B2 (en) Automatically generating web forms from database schema
US7133867B2 (en) Text and attribute searches of data stores that include business objects
US9495356B2 (en) Automated interactive visual mapping utility and method for validation and storage of XML data
KR100977360B1 (en) File system for displaying items of different types and from different physical locations
US6131100A (en) Method and apparatus for a menu system for generating menu data from external sources
US6687897B2 (en) XML based script automation
US7308646B1 (en) Integrating diverse data sources using a mark-up language
US7370028B2 (en) Method of and system for providing namespace based object to XML mapping
US8458200B2 (en) Processing query conditions having filtered fields within a data abstraction environment
US9031924B2 (en) Query conditions having filtered fields within a data abstraction environment
US20040078355A1 (en) Information management system
US7475059B2 (en) Adapting business objects for searches and searching adapted business objects
US7627557B2 (en) Computerized assistance content organization, scoping and bias
JP3786233B2 (en) Information search method and information search system
US7546526B2 (en) Efficient extensible markup language namespace parsing for editing
US10911592B2 (en) Method and system for defining an offlinable model graph
US20050262074A1 (en) Reporting module definition language system and method
JP2002063165A (en) Method and system and program for information retrieval, and recording medium having the same program recorded thereon
US20050229100A1 (en) Creating linked electronic documents
Brodersen et al. Navigation in the KOBV-Informationsportal Conceptual View

Legal Events

Date Code Title Description
AS Assignment

Owner name: MICROSOFT CORPORATION, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:JONES, BRIAN M.;SAWICKI, MARCIN;LITTLE, ROBERT A.;AND OTHERS;REEL/FRAME:013070/0302;SIGNING DATES FROM 20020624 TO 20020625

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034541/0477

Effective date: 20141014

FPAY Fee payment

Year of fee payment: 8

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20201125