only showing one type of node
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Sat Jul 23, 2011 4:16 am
only showing one type of node
My apologies for a complete newbie question. I just started using oXygen, and can't figure out what seems like a very simple problem.
I opened an xml file (specifically, a log file from the IRC client Colloquy). The root node is called "log", and it contains several different types of other nodes. However, no matter what view I'm in (text, grid, author), it only shows one type of node (event), as if the other node types did not exist.
Then I tried to generate a schema from it (W3C XML Schema), and it correctly identified all the element types, in addition to the "log" type.
If anyone could give me a clue here, I would really appreciate it!
Thanks!
I opened an xml file (specifically, a log file from the IRC client Colloquy). The root node is called "log", and it contains several different types of other nodes. However, no matter what view I'm in (text, grid, author), it only shows one type of node (event), as if the other node types did not exist.
Then I tried to generate a schema from it (W3C XML Schema), and it correctly identified all the element types, in addition to the "log" type.
If anyone could give me a clue here, I would really appreciate it!
Thanks!
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: only showing one type of node
Hello,
Or are you looking in the Outline view/window?
Does the XML document have a reference to a schema or a DTD(DOCTYPE declaration)? If there is one it should be before the root element or on the root itself.
It's possible that the document only contains "event" elements(on the first level, directly in the root) and there really isn't another type of element in the document, at least not directly in the root.
How did you generate a W3C XML Schema? What did you use as a starting point?
Regards,
Adrian
You mean in the editor? In Text mode you will see the entire content of the XML file in the editor, nothing is filtered. If you can't see it, it's not there.fulv wrote:However, no matter what view I'm in (text, grid, author), it only shows one type of node (event), as if the other node types did not exist.
Or are you looking in the Outline view/window?
Does the XML document have a reference to a schema or a DTD(DOCTYPE declaration)? If there is one it should be before the root element or on the root itself.
It's possible that the document only contains "event" elements(on the first level, directly in the root) and there really isn't another type of element in the document, at least not directly in the root.
How did you generate a W3C XML Schema? What did you use as a starting point?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Sat Jul 23, 2011 4:16 am
Re: only showing one type of node
Ack,
my bad, I opened the wrong file by mistake, and it did indeed only have event elements in the root. The file I used to generate the schema was the one I intended to open in the first place, so obviously the schema did not match.
Thanks for your replay, and sorry about that!

my bad, I opened the wrong file by mistake, and it did indeed only have event elements in the root. The file I used to generate the schema was the one I intended to open in the first place, so obviously the schema did not match.
Thanks for your replay, and sorry about that!
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