×

XML document editor

  • US 7,409,673 B2
  • Filed: 06/24/2003
  • Issued: 08/05/2008
  • Est. Priority Date: 06/24/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. Method for enabling a user to edit an XML document using an XML document editor to add or delete an element into a working document and to convert said working document into an XML document file;

  • comprising the step of enabling said XML document editor to automatically generate, in relation to two consecutive elements zi and zi+1 of said working document, a list of candidate third elements z to be provided to a user;

    wherein said third elements z in said list are selected such that relations between elements zi and z and between elements z and zi+1 comply with said Document Type Definition (DTD) of said working document after said element z is inserted between elements zi and zi+1, said list enabling the user to select any of the candidate third elements z and add them to the working document without affecting DTD compliance of the working document, wherein whether the relation between two consecutive elements complies with said DTD is determined according to the following rule;

    suppose G is Glushkov Automaton of said document, zi is a state in G, 1≦

    i≦

    p−

    1, pε

    N, Σ

    ={z1, z2, . . . zp} is a sequence of states in G where z1=s, s is start state of G, zp=f, f is final state of G;

    if zi+1ε

    reachable(zi), wherein reachable(zi) denote the set of states in G reachable from state zi,then the relation between zi and zi+1 is determined compliant with DTD of said document.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×