Re: I need to develop an xsl stylesheet designer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Of course - but its some of those logical parts i'm not sure how to write:
My main screen will have two main areas - on the left a simple toolbox of
elements, and on the right a design/layout screen or 'canvas'.
Logical Chunk 1:
The tool box - shold be simple with several ways to attempt it - a simple
toolbar or listbox or tree, made up of items for standard elements like
'Table' or 'Image' and also data elements that are specified in an XML Schema.
Logical Chunck 2:
The other side of the screen is the 'canvas' for the user - it has two tabs
- on one is the XML/XSL view where the user can see the XML generated and
edit if they wish. On the other tab is the drag/drop layout area. (This is my
difficult bit) I'm not sure how to create an area where a user can type some
text and format it visually like in word. The user also needs to be able to
drag into the stylesheet, elements from the toolbar, tables, images, data
elements. The layout must 'flow' like in word where you can type some text, a
new line, some more text then from the toolbar grab a bit of clipart and
place it between the two lines of text and the text flows down the page to
allow the image to fit.
To break this down further:
1. Canvas - needs to display the elements visually in a flow layout
2. ondragover - needs to indicate with e.g. a cursor or surrounding box
possible drop positions as the mouse nears them (only one at a time whichever
is the nearest).
3. ondrop - add the element in the position highlighted.
4. Object model - this will hold the layout in memory. The canvas will
render from it. The XML is generated from it. XML will edit/specify it (when
the user types the xml directly). ondrop the element is added to the object
model of the layout and the canvas is re-rendered.

Any suggestions
.



Relevant Pages

  • Re: I need to develop an xsl stylesheet designer
    ... and on the right a design/layout screen or 'canvas'. ... > 'Table' or 'Image' and also data elements that are specified in an XML ... On the other tab is the drag/drop layout area. ... Canvas - needs to display the elements visually in a flow layout ...
    (microsoft.public.vb.general.discussion)
  • Re: XAML: Microsoft reinventing Tk?
    ... Not much different from the XML the Qt toolkit uses to layout documents, ... the XML the GTK toolkit uses via glade. ... <!ELEMENT label EMPTY> ... borderwidth CDATA #IMPLIED ...
    (comp.lang.tcl)
  • Re: Data display issues
    ... This is a Purchase Order layout for microsoft dynamics retail management system. ... when you print an invoice this file is used to generate the invoice and send it to the printer. ... There are lots of XML applications, e.g. there is XHTML (where elements are in the namespace http://www.w3.org/1999/xhtml), there is XSLT, there is XSL-FO. ...
    (microsoft.public.dotnet.xml)
  • Re: Data display issues
    ... to layout an invoice from a program. ... There are lots of XML applications, e.g. there is XHTML (where elements are in the namespace http://www.w3.org/1999/xhtml), there is XSLT (where the program instructions are in the namespace http://www.w3.org/1999/XSL/Transform), there is XSL-FO. ... As for writing a script or program to query an MS SQL database that is certainly possible with VBScript or JScript and ADO or with the .NET framework but how that fits into your existing solution depends on what kind of XML application you are using. ...
    (microsoft.public.dotnet.xml)
  • Re: Fixed site width vs. dynamic: what is good web design?
    ... Flexible layout is perfectly useful when the layout of the page is important ... here asking how to "centre" that fixed width box in the browser canvas. ... Fail to impose the width restriction and then design the page and you end up ... The map adjusts to exactly fit whatever canvas ...
    (alt.html)