Displaying images with CSS in Author mode
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Tue May 13, 2008 10:39 pm
Displaying images with CSS in Author mode
I am quite new to XML and I run into a trouble with displaying images in Oxygen in Author mode.
I have an XML text (exported from FrameMaker). The XML doc looks like (some text omited):
The "entity" attribute is of type ENTITY. When I am using CSS declaration for graphic element:
- I see the an Author mode message: "Unsupported content type for :File:/C:/Slava/docs/Guide_English/ZLinks/ch01-02.bmp ". Also this message shows the incorrect path.
Does any way to display images via external entities exist and CSS?
I am working on Oxygen 9.2 and WinXP.
Thanks
I have an XML text (exported from FrameMaker). The XML doc looks like (some text omited):
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE chapter SYSTEM "file:///C:/Slava/docs/NewFolder_4/DTD_33.dtd" [
<!NOTATION dib SYSTEM "">
<!ENTITY graphic1 SYSTEM "../Guide_English/ZLinks/ch01-02.bmp" NDATA dib>
<!-- some text omitted --> ]>
<!-- ... -->
<figure><caption>Navigating the Start Menu in Windows 2000</caption>
<graphic entity="graphic1" <!-- some attributes omitted-->/></figure>
<!-- some text omitted -->
Code: Select all
graphic {content: attr(entity, url);}
Does any way to display images via external entities exist and CSS?
I am working on Oxygen 9.2 and WinXP.
Thanks
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Displaying images with CSS in Author mode
Dear Slava,
I answered you yesterday by email but I did not realize that the 'entity' attribute was of type ENTITY.
We do not support this yet but I added an improvement request to our internal features list and we will look into it.
Regards,
Radu
I answered you yesterday by email but I did not realize that the 'entity' attribute was of type ENTITY.
We do not support this yet but I added an improvement request to our internal features list and we will look into it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Displaying images with CSS in Author mode
Hi,
Just wanted to let you know that we implemented a CSS extension function which will give you the possibility to see images referred with ENTITY type attributes in the Author page.
The extension will be available in Oxygen 9.3 and the CSS selector will have to look something like:
Regards,
Radu
Just wanted to let you know that we implemented a CSS extension function which will give you the possibility to see images referred with ENTITY type attributes in the Author page.
The extension will be available in Oxygen 9.3 and the CSS selector will have to look something like:
Code: Select all
graphic {
display:inline;
content: url(unparsed-entity-uri(attr(srcentity))) ;
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Tue May 13, 2008 10:39 pm
Re: Displaying images with CSS in Author mode
Here is the excerpt from an offline discussion related to this tread:
Unfortunately we do not yet support displaying images referred with ENTITY type attributes like in your case. We will try to fix this and I will contact you when the problem gets solved.
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