DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Internal dtd

  1. #1
    Join Date
    Feb 2010
    Posts
    8

    Internal dtd

    I ran some system out and I have the data I need for now.
    I have never done an internal dtd. These are just a system dump from a program that creates JInternalFames and JTabbedPanes simutaniosly createing folders.
    I hope to map them using XML. If they are ok I will have to write them
    to an xml file and learn to use them.

    Can someone proof the internal dtd for me?


    Can I write these as .xml and then use DOM TO use them?
    thanks


    Code:
     --> in  public void sysOut() { var: xxxxxxxxx : xxxxxxxx<-- 
    
    <?xml version="1.0"?>
    <!DOCTYPE frameData (frameElement+) [
    <!ELEMENT frameElement(frameName,framePath)>
    <!ELEMENT frameElement (frameElement)*>
      <!ATTLIST frameElement index NMTOKEN #REQUIRED>
      <!ELEMENT frameName (#PCDATA)>
      <!ELEMENT framePath (#PCDATA)>
    ]>
    <frameData>
    <frameElementindex="frame folder">
    <frameNameElement>
    frame folder
    </frameNameElement>
    <framePathElement>
    C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder
    </framePathElement>
    </frameElement>

    Code:
    --> in  public void sysOut() { var: xxxxxxxxx : xxxxxxxx<-- 
    
    <?xml version="1.0"?>
    <!DOCTYPE tabData (tabElement+) [
    <!ELEMENT tabElement(tabName,tabPath)>
    <!ELEMENT tabElement (tabElement)*>
      <!ATTLIST tabElement index NMTOKEN #REQUIRED>
      <!ELEMENT tabName (#PCDATA)>
      <!ELEMENT tabPath (#PCDATA)>
    ]>
    <tabData>
    <tabElementindex="tab folder">
    <tabNameElement>
    tab folder
    </tabNameElement>
    <tabPathElement>
    C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder
    </tabPathElement>
    </tabElement>

  2. #2
    Join Date
    Feb 2010
    Posts
    8

    Fixed

    Fixed.

    Code:
    CLASS 
     CreateSystemStartFolders: 
     --> in public CreateSystemStartFolders() var: xxxxxxxxx : xxxxxxxx<-- 
     : : caller 
    --->:  setupTargetFolder(.targetFolders) : var: xxxx : xxxxxxx <-----
    
     --> in public void setupTargetFolder(.targetFolders) var: xxxxxxxxx : xxxxxxxx<-- 
    
     --> in  public void sysOut() { var: xxxxxxxxx : xxxxxxxx<-- 
    
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE frames [
    <!ELEMENT frames (frame)+>
    <!ELEMENT frame (name,path)>
    <!ATTLIST frame title CDATA #REQUIRED>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT path (#PCDATA)>
    ]>
    <frames>
    <frame title="frame folder">
    <name>
    frame folder
    </name>
    <path>
    C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder
    </path>
    </frame>
    </frames>
     --> in public void internalFrameActivated(INTERNAL_FRAME_ACTIVATED) var: xxxxxxxxx : xxxxxxxx<-- 
    
     --> in public void internalFrameActivated(INTERNAL_FRAME_ACTIVATED) var: xxxxxxxxx : xxxxxxxx<-- 
    
    key
    CLASS 
      public static class InternalFrameNotes extends JInternalFrame implements Serializable, InternalFrameListener:






    Code:
    CLASS 
       OneNoteSetupTabFrame: 
     --> in  public void allowCreationOfOneNoteTab(tab folder) var: name : xxxxxxxx<-- 
     : : caller 
    --->: SaveInitialNoteTab.firstInstance(view.SchoolJDesktopPane$InternalFrameNotes[,0,0,750x500,invalid,layout=javax.swing.plaf.basic.BasicInternalFrameUI$Handler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@f3552f,flags=264,maximumSize=,minimumSize=,preferredSize=,closable=true,defaultCloseOperation=DISPOSE_ON_CLOSE,desktopIcon=javax.swing.JInternalFrame$JDesktopIcon[,0,0,160x31,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@122c9df,flags=8,maximumSize=,minimumSize=,preferredSize=],frameIcon=sun.swing.ImageIconUIResource@33c658,iconable=true,isClosed=false,isIcon=false,isMaximum=false,isSelected=true,maximizable=true,opened=true,resizable=true,rootPane=javax.swing.JRootPane[,5,28,740x467,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true,title=frame folder] , tab folder , C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder) : var: frame : folderName : folderLocation <-----
    
     --> in  public void firstInstance(view.SchoolJDesktopPane$InternalFrameNotes[,0,0,750x500,invalid,layout=javax.swing.plaf.basic.BasicInternalFrameUI$Handler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@f3552f,flags=264,maximumSize=,minimumSize=,preferredSize=,closable=true,defaultCloseOperation=DISPOSE_ON_CLOSE,desktopIcon=javax.swing.JInternalFrame$JDesktopIcon[,0,0,160x31,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@122c9df,flags=8,maximumSize=,minimumSize=,preferredSize=],frameIcon=sun.swing.ImageIconUIResource@33c658,iconable=true,isClosed=false,isIcon=false,isMaximum=false,isSelected=true,maximizable=true,opened=true,resizable=true,rootPane=javax.swing.JRootPane[,5,28,740x467,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true,title=frame folder] , tab folder : C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder) var: frame.getTitle() :frame.getTitle() : path  :<-- 
    
    CLASS 
     public class SaveInitialNoteTab {: 
     --> in  public void firstInstance(view.SchoolJDesktopPane$InternalFrameNotes[,0,0,750x500,invalid,layout=javax.swing.plaf.basic.BasicInternalFrameUI$Handler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@f3552f,flags=264,maximumSize=,minimumSize=,preferredSize=,closable=true,defaultCloseOperation=DISPOSE_ON_CLOSE,desktopIcon=javax.swing.JInternalFrame$JDesktopIcon[,0,0,160x31,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@122c9df,flags=8,maximumSize=,minimumSize=,preferredSize=],frameIcon=sun.swing.ImageIconUIResource@33c658,iconable=true,isClosed=false,isIcon=false,isMaximum=false,isSelected=true,maximizable=true,opened=true,resizable=true,rootPane=javax.swing.JRootPane[,5,28,740x467,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true,title=frame folder] , tab folder : C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder) var: frame.getTitle() :frame.getTitle() : path  :<-- 
     : C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder: folderLocation : 
    
    CLASS 
     public class SaveInitialNoteTab {: 
     --> in  public void firstInstance(view.SchoolJDesktopPane$InternalFrameNotes[,0,0,750x500,invalid,layout=javax.swing.plaf.basic.BasicInternalFrameUI$Handler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@f3552f,flags=264,maximumSize=,minimumSize=,preferredSize=,closable=true,defaultCloseOperation=DISPOSE_ON_CLOSE,desktopIcon=javax.swing.JInternalFrame$JDesktopIcon[,0,0,160x31,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@122c9df,flags=8,maximumSize=,minimumSize=,preferredSize=],frameIcon=sun.swing.ImageIconUIResource@33c658,iconable=true,isClosed=false,isIcon=false,isMaximum=false,isSelected=true,maximizable=true,opened=true,resizable=true,rootPane=javax.swing.JRootPane[,5,28,740x467,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true,title=frame folder] , tab folder : C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder) var: frame.getTitle() :frame.getTitle() : path  :<-- 
     : true: bCreated target : 
    
     --> in public CreateSystemStartFolders() var: xxxxxxxxx : xxxxxxxx<-- 
    
    CLASS 
     CreateSystemStartFolders: 
     --> in public CreateSystemStartFolders() var: xxxxxxxxx : xxxxxxxx<-- 
     : : caller 
    --->:  setupTargetFolder(.targetFolders) : var: xxxx : xxxxxxx <-----
    
     --> in public void setupTargetFolder(.targetFolders) var: xxxxxxxxx : xxxxxxxx<-- 
    
     --> in  public void sysOut() { var: xxxxxxxxx : xxxxxxxx<-- 
    
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE tabs [
    <!ELEMENT tabs (tab)+>
    <!ELEMENT tab (name,path)>
    <!ATTLIST tab title CDATA #REQUIRED>
    <!ELEMENT name (#PCDATA)>
    <!ELEMENT path (#PCDATA)>
    ]>
    <tabs>
    <tab title="tab folder">
    <name>
    tab folder
    </name>
    <path>
    C:\Users\Steves_\.targetFolders\admin\admin\One Note Folder\frame folder\tab folder
    </path>
    </tab>
    </tabs>
     --> in insertSelectedTab() var: xxxxxxxx<-- 
    
    CLASS 
    NotesAction: 
     --> in insertSelectedTab() var: xxxxxxxx<-- 
     : : caller 
    --> : CreateContentTabPanels.noteContentTab() : var: xxxx : xxxxxxx <--

Similar Threads

  1. XML Validation - External DTD
    By monarltee in forum ASP.NET
    Replies: 0
    Last Post: 03-24-2007, 11:58 PM
  2. ORA-00600: internal error
    By Lakshmanan in forum oracle.general
    Replies: 4
    Last Post: 04-06-2002, 03:19 AM
  3. DTD Stumper
    By manny in forum XML
    Replies: 0
    Last Post: 03-20-2001, 11:43 AM
  4. External & Internal DTD
    By Pierre in forum XML
    Replies: 0
    Last Post: 02-07-2001, 04:07 PM
  5. How to reference to a other DTD in a DTD ?
    By Benoît Sévigny in forum XML
    Replies: 0
    Last Post: 08-29-2000, 10:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center