|  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: use custom xsd with the StructuredTextEditor [message #209942 is a reply to message #209897] | Fri, 07 March 2008 10:28   |  | 
| Eclipse User  |  |  |  |  | Originally posted by: dcarver.starstandard.org 
 There are a couple of ways to do this, depending on how your XSD is setup.
 
 If it is namespace aware, then as ED said, you can register it in the
 XML Catalog by namespace, and have it load the appropriate XSD based on
 the namespace in the xml.  This will require you specifying at the
 minimum a xmlns="" attribute with the appropriate namespace filled in,
 in the XML instance.
 
 The other option is to use the xsi:schemaLocation="" attribute to
 specify where the schema can be found locally.
 
 http://xerces.apache.org/xerces-j/schema.html
 
 Dave
 
 Ed Merks wrote:
 > Alexandre,
 >
 > If I understand the posts I've read here, I think you'd register the
 > namespace of the schema in the XML catalog...
 >
 >
 > Alexandre Jaquet wrote:
 >> Hi,
 >>
 >> I need the content assist feature for some of my xsd, how can I tell
 >> the StructuredTextEditor to parse my xsd's files
 >>
 >> Thanks
 >>
 >> Alexandre
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.05694 seconds