Percent HTML Entity
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Sun May 30, 2004 7:43 am
Percent HTML Entity
Post by leematthew »
Hi,
I have an XML file that contains > and < HTML entities (for ">" and "<" respectively).
This document is validated by Oxygen.
However, when I attempt to add % (for "%"), oxygen will not validate my file.
Given that > and < validate, I'm assuming I don't have to by referencing some external schema (otherwise it would also contain %).
The only other alternative (that I can think of) is that support for > and < is built into oxygen. But that implies that % is not supported by oxygen.
Does anyone know?
Thanks,
Matt
I have an XML file that contains > and < HTML entities (for ">" and "<" respectively).
This document is validated by Oxygen.
However, when I attempt to add % (for "%"), oxygen will not validate my file.
Given that > and < validate, I'm assuming I don't have to by referencing some external schema (otherwise it would also contain %).
The only other alternative (that I can think of) is that support for > and < is built into oxygen. But that implies that % is not supported by oxygen.
Does anyone know?
Thanks,
Matt
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Matt,
The < , >, &, "e; and ' entities are defined by the XML specification [1].
In order to use some other entities they have to be defined. For instance you can use the "New from templates" action [2] and create a new XHTML document like the one below:
If you will enable the "Show all entities option" [3] you should be able to see in the content completion popup after you press "&" all the defined entities.
[1] http://www.w3.org/TR/2004/REC-xml-20040 ... efined-ent
[2] http://www.oxygenxml.com/doc/ug-oxygen/ ... -templates
[3] http://www.oxygenxml.com/doc/ug-oxygen/ ... etion.html
Best Regards,
George
The < , >, &, "e; and ' entities are defined by the XML specification [1].
In order to use some other entities they have to be defined. For instance you can use the "New from templates" action [2] and create a new XHTML document like the one below:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
</body>
</html>
[1] http://www.w3.org/TR/2004/REC-xml-20040 ... efined-ent
[2] http://www.oxygenxml.com/doc/ug-oxygen/ ... -templates
[3] http://www.oxygenxml.com/doc/ug-oxygen/ ... etion.html
Best Regards,
George
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