auto complete feature for xforms
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 7
- Joined: Tue Aug 23, 2005 9:26 am
auto complete feature for xforms
hi,
i want to create xforms using the oxygen plugin for eclipse. so i would like to have auto completion for this feature. also my xform is basically written within the tags <html>, <head>, <body>.
How would i be able to do this??
Shilu
i want to create xforms using the oxygen plugin for eclipse. so i would like to have auto completion for this feature. also my xform is basically written within the tags <html>, <head>, <body>.
How would i be able to do this??
Shilu
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Associate a XML Schema/DTD/Relax NG schema/NRL schema/Schematron schema with the XForms document or create an association in the Preferences - Tag Insight - Default panel. See the section "Associate a schema to a document" in the User Manual:
http://www.oxygenxml.com/doc/ug-oxygen/ ... o-document
Best Regards,
Sorin
Associate a XML Schema/DTD/Relax NG schema/NRL schema/Schematron schema with the XForms document or create an association in the Preferences - Tag Insight - Default panel. See the section "Associate a schema to a document" in the User Manual:
http://www.oxygenxml.com/doc/ug-oxygen/ ... o-document
Best Regards,
Sorin
-
- Posts: 7
- Joined: Tue Aug 23, 2005 9:26 am
For more clarity on my question,
how iam having my xforms is that, all my xform model, instance, etc will come within the tag <head>. the xform action, (like input, output etc) related will come in the tag <body>. all this is enclose within the tag <html>. now if i use the schema for xforms, it doesnt give me autocomplete feature for the above scenario. if i use the xhtml schema, still it doesnot give me auto complete for xforms only for xhtml.
Validation occurs without any problem, what i need is the auto complete feature
Shilu
how iam having my xforms is that, all my xform model, instance, etc will come within the tag <head>. the xform action, (like input, output etc) related will come in the tag <body>. all this is enclose within the tag <html>. now if i use the schema for xforms, it doesnt give me autocomplete feature for the above scenario. if i use the xhtml schema, still it doesnot give me auto complete for xforms only for xhtml.
Validation occurs without any problem, what i need is the auto complete feature
Shilu
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Best Regards,
Sorin
Post the URL of that schema.shilu wrote:now if i use the schema for xforms, it doesnt give me autocomplete feature for the above scenario.
Best Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
You cannot combine elements defined in the schema for XHTML with elements defined in the schema for XForms in the same XML document. Such a document is not valid. The 2 schemas do not allow that. Do you have a XHTML schema that allows combining with other schema ?
Best Regards,
Sorin
You cannot combine elements defined in the schema for XHTML with elements defined in the schema for XForms in the same XML document. Such a document is not valid. The 2 schemas do not allow that. Do you have a XHTML schema that allows combining with other schema ?
Best Regards,
Sorin
-
- Posts: 7
- Joined: Tue Aug 23, 2005 9:26 am
the XHTML schema allows you to use elements from any schema. there is no restriction on this. therefore my xform will get validated. the problem is that i dont get the auto complete feature.
the xhtml schema can be found at this URL
http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd
the xhtml schema can be found at this URL
http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd
-
- Posts: 7
- Joined: Tue Aug 23, 2005 9:26 am
this link contains a few examples of xforms
http://www.w3.org/TR/xforms/sliceG.html
as you can see, the xforms are basically written within the xhtml tags.
i want auto complete feature to be available, when i am writting these xforms.
http://www.w3.org/TR/xforms/sliceG.html
as you can see, the xforms are basically written within the xhtml tags.
i want auto complete feature to be available, when i am writting these xforms.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Declare the schema locations in the document:
Best Regards,
Sorin
Declare the schema locations in the document:
Code: Select all
<html xmlns="http://www.w3.org/2002/06/xhtml2/"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd http://www.w3.org/2002/xforms http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd">
</html>
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service