p3p.sax 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. SAX.setDocumentLocator()
  2. SAX.startDocument()
  3. SAX.startElement(RDF:RDF, xmlns:p3p='http://www.w3.org/TR/1998/WD-P3P10-syntax#proposal.DTD', xmlns:RDF='http://www.w3.org/TR/WD-rdf-syntax#')
  4. SAX.characters(
  5. , 1)
  6. SAX.startElement(PROP, realm='http://www.CoolCatalog.com/catalogue/', entity='CoolCatalog', agreeID='94df1293a3e519bb', assurance='http://www.TrustUs.org')
  7. SAX.characters(
  8. , 3)
  9. SAX.startElement(USES)
  10. SAX.characters(
  11. , 3)
  12. SAX.startElement(STATEMENT, purp='2,3', recpnt='0', id='0', consq='a site with clothes you'd appreciate.')
  13. SAX.characters(
  14. , 5)
  15. SAX.startElement(WITH)
  16. SAX.startElement(PREFIX, name='User.')
  17. SAX.characters(
  18. , 6)
  19. SAX.startElement(REF, name='Name.First')
  20. SAX.endElement(REF)
  21. SAX.characters(
  22. , 6)
  23. SAX.startElement(REF, name='Bdate.Year', optional='1')
  24. SAX.endElement(REF)
  25. SAX.characters(
  26. , 6)
  27. SAX.startElement(REF, name='Gender')
  28. SAX.endElement(REF)
  29. SAX.characters(
  30. , 5)
  31. SAX.endElement(PREFIX)
  32. SAX.endElement(WITH)
  33. SAX.characters(
  34. , 3)
  35. SAX.endElement(STATEMENT)
  36. SAX.characters(
  37. , 3)
  38. SAX.endElement(USES)
  39. SAX.characters(
  40. , 3)
  41. SAX.startElement(USES)
  42. SAX.characters(
  43. , 3)
  44. SAX.startElement(STATEMENT, action='read&write', purp='0', recpnt='0', id='1')
  45. SAX.characters(
  46. , 5)
  47. SAX.startElement(REF, name='User.Shipping.')
  48. SAX.endElement(REF)
  49. SAX.characters(
  50. , 3)
  51. SAX.endElement(STATEMENT)
  52. SAX.characters(
  53. , 3)
  54. SAX.endElement(USES)
  55. SAX.characters(
  56. , 3)
  57. SAX.startElement(DISCLOSURE, discURI='http://www.CoolCatalog.com/PrivacyPractice.html', access='3', other='0,1')
  58. SAX.endElement(DISCLOSURE)
  59. SAX.characters(
  60. , 1)
  61. SAX.endElement(PROP)
  62. SAX.endElement(RDF:RDF)
  63. SAX.endDocument()