Use prefixes instead op xmlns attribute
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 6
- Joined: Mon Jun 13, 2005 9:42 am
- Location: Netherlands
Use prefixes instead op xmlns attribute
Post by dkruitbosch »
Hi,
When I generate a document based on a schema, is it possible to "automagically" use prefixes for the element etc. instead of the xmlns attribute?
Example:
<prefix:myelement>data</myelement>
instead of
<myelement xmlns="http://mynamespace.com">data</myelement>
Thanks,
Danny
When I generate a document based on a schema, is it possible to "automagically" use prefixes for the element etc. instead of the xmlns attribute?
Example:
<prefix:myelement>data</myelement>
instead of
<myelement xmlns="http://mynamespace.com">data</myelement>
Thanks,
Danny
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Danny,
Yes, just fill in the Prefix field in the New XML dialog and the root element namespace will be declared mapped to that prefix. See:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tml#d4e734
Best regards,
George
Yes, just fill in the Prefix field in the New XML dialog and the root element namespace will be declared mapped to that prefix. See:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tml#d4e734
Best regards,
George
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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