Declare and use a namespace inside another namespace?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Mon Mar 24, 2025 10:04 am
Declare and use a namespace inside another namespace?
Hello,
this should be working but it says ml:math is incomplete and ml:matrix not allowed, how can i fix this ? i need to know if i can use a namespace inside another one.
this should be working but it says ml:math is incomplete and ml:matrix not allowed, how can i fix this ? i need to know if i can use a namespace inside another one.
Code: Select all
<!-- il est possible d'utiliser l'espace de noms http -->
<http:html xmlns:http="http://www.w3.org/1999/xhtml">
<http:head>
<http:title>Titre du document</http:title>
</http:head>
<http:body>
<http:p>
<!-- il est possible d'utiliser l'espace de noms ml -->
<ml:math xmlns:ml="http://www.w3.org/1998/Math/MathML">
<ml:matrix>
<ml:matrixrow>
<ml:cn>0</ml:cn>
<ml:cn>1</ml:cn>
<ml:cn>0</ml:cn>
</ml:matrixrow>
<ml:matrixrow>
<ml:cn>0</ml:cn>
<ml:cn>0</ml:cn>
<ml:cn>1</ml:cn>
</ml:matrixrow>
</ml:matrix>
</ml:math>
<!-- il n'est plus possible d'utiliser l'espace de noms ml -->
</http:p>
</http:body>
</http:html>
<!-- il n'est plus possible d'utiliser l'espace de noms http -->
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Declare and use a namespace inside another namespace?
Hi,
In that context, you can use an element from the MathML namespace. It appears that the "matrix" element is not permitted. You may need to use the "mtable" element.
For more information, visit: https://www.w3.org/TR/REC-MathML/chap3_5.html
Best Regards,
Octavian
In that context, you can use an element from the MathML namespace. It appears that the "matrix" element is not permitted. You may need to use the "mtable" element.
For more information, visit: https://www.w3.org/TR/REC-MathML/chap3_5.html
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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