Hussein Shafie escribi?:
> Agnisys wrote:
> 
>> I'm trying to see if this tool is a good fit for my
>>application. So far it seems that it is not. I wonder if you can help me 
>>evaluate it.
>>
>>1. I'm looking for an XML editor that hides the XML from the user.

Did you asked for it in comp.text.xml? It was me who suggested XXE as a 
solution.

>> I have a grammer written in XSD
>>I can't figure out how to tell XMLMind about it. 

Put an appropriate DOCTYPE declaration in your XML document.

>>
>>2. Secondly how to specify the CSS stylesheet.

Put an appropriate <?xml-stylesheet ..?> processing instruction in your 
XML document.

> 
> You need to write a configuration (a declarative XML file) which will
> instruct XXE how to handle your documents. How to do this is explained
> here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/configure.html

Yes, but it is possible to do a quick test without it:

1.- choose a sample xml document to test the editor features. Or just 
write one with any XML editor. Even an empty document would suffice. Put 
the appropriate <!DOCTYPE ...> and <?xml-stylesheet ..?> in it.

2.- open this sample document in a modern web browser, just to verify 
that the schema and the stylesheet are accesible.

3.- open the sample document in XXE. If you get a tree view instead of 
the CSS-styled view, go to Options -> Options -> open and uncheck the 
"ignore <?xml-stylesheet?>" checkmark. Reopen the sample document.

4.- if you get a warning message about unsopported features of your CSS 
stylesheet, just accept and ignore it.

5.- test the editor features: navigate the structure, add elements, edit 
text data and attributes, cut/copy/paste text and/or elements or whole 
subtrees, etc.

I hope this helps. Regards.
-- 
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado


Reply via email to