[
Lists Home |
Date Index |
Thread Index
]
Sorry Shay, but now I do not understand what you want. The example I
pointed you to looks very similar with what you included in your message:
http://www.codeproject.com/dotnet/XSDEditor.asp
If you invoke that with something like:
java -cp xercesImpl.jar;xercesSamples.jar ui.TreeView personal.xsd
then you should be able to see a tree representation of the schema
document, the schema source and some information about the current
selection.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Shay Artzi wrote:
> I didn't make myself exactly clear. I want the instance tree derived
> from the schema.
>
> Shay
>
> -----Original Message-----
> From: George Cristian Bina [mailto:george@sync.ro]
> Sent: Thursday, June 23, 2005 10:50 AM
> To: Shay Artzi
> Cc: XML Developers List
> Subject: Re: [xml-dev] XML Schema tree API
>
> Hi Shay,
>
> There is a XercesJ sample that should show a tree view of an XML
> document (and XML schema is XML). Check the samples/ui/TreeView class.
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> Shay Artzi wrote:
>
>>Hi,
>> I want to present a user with a tree representation of an XML
>
> schema
>
>>and get the paths to the user selected nodes.
>> Is there any available java code that creates this kind of tree?
>>
>> Is there any existing UI that does this already? I found a nice C#
>>implementation (http://www.codeproject.com/dotnet/XSDEditor.asp) but
>
> no
>
>>Java
>>
>>Thanks,
>>
>>Shay
>>
>>-----------------------------------------------------------------
>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>>initiative of OASIS <http://www.oasis-open.org>
>>
>>The list archives are at http://lists.xml.org/archives/xml-dev/
>>
>>To subscribe or unsubscribe from this list use the subscription
>>manager: <http://www.oasis-open.org/mlmanage/index.php>
>>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
|