This blog post and comment thread are not mine, but I thought they would
interest the Oxygen developers. Maybe you have a response to the
statements made about Oxygen.
http://www.nesterovsky-bros.com/weblog/CommentView,guid,ca560933-6d05-4bbc-…
----------------------------------------------------------------------------
A good xslt IDE
A simple demand nowdays - a good IDE.
Almost a ten years have passed since xslt has appeared but still, we're
not pleased with IDEs claiming xslt support. Our expectaions are not too
high. There are things however, which must be present in such an IDE.
1. A notion of project, and possibly a group of projects. You may
think of it as a main xslt including other xslts participationg in the
project.
2. A code completion. A feature providing typing hints for language
constructs, includes, prefixes, namespaces, functions, templates, modes,
variables, parameters, schema elements, and other (all this should work
in a context of the project).
3. A code refactoring. A means to move parts of code between (or
inside) files and projects, rename things (functions, templates,
parameters, variables, prefixes, namespaces, and other).
4. Code validation and run.
5. Optional debug feature.
We would be grateful if someone had pointed to any such IDE.
----------------------------------------------------------------------------
Thursday, January 15, 2009 3:54:42 PM UTC
I can recommend oXygen XML Editor. IMHO it could satisfy nearly all your
requirements, except providing namespace prefixes which sometimes works
and sometimes does not. Altought it's written in Java it's pretty fast
and has best code completion I have seen so far. You will have to try
code refactoring on your own, I do not use it much.
Maybe you would want to try evaluation version of IntelliJ IDEA with
plugins XPathView + XSLT-Support and XSLT-Debugger. It's primarily Java
IDE but with use of mentioned plugins, writing XSLT is much easies and
"enjoyable". Best advantage of IDEA are advanced refactorings (provided
by both IDEA and plugins) and easiness of creating new ones.
I hope you will find this comment somehow useful.
Josef
Josef Pavlas
----------------------------------------------------------------------------
Thursday, January 15, 2009 4:45:27 PM UTC
Josef,
Consider an example provided by xslt 2.0 spec:
"...For example, if stylesheet B includes stylesheet A, stylesheet C
includes stylesheet A, and stylesheet D includes both stylesheet B and
stylesheet C, then A will be included indirectly by D twice. If all of
B, C and D are used as independent stylesheets, then the error can be
avoided by separating everything in B other than the inclusion of A into
a separate stylesheet B' and changing B to contain just inclusions of B'
and A, similarly for C, and then changing D to include A, B', C'."
Unfortunately oXygen does not provide acceptable code completion and
refactoring for such A', B', and C' modules, as it never looks defitions
in including modules.
We never tried IntelliJ IDEA, and we shall try it.
Thank you for your feedback!
Vladimir Nesterovsky
(the rest deleted)
I added this entry to my local copy of topic.css in order to display the
spectitle= value for sections that specify it:
*[class~="topic/section"][spectitle]:before {
display: block;
font-weight: bold;
margin-top: 6pt;
margin-bottom: 2pt;
content: attr("spectitle");
}
Cheers,
E.
----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email: ekimber(a)reallysi.com <mailto:ekimber@reallysi.com>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>
Sorin, ok, I'll go back and look at that. There isn't a book on oXygen, is
there? The help only gets me so far. I do like it though -- what a big step
up from the freebies!
Karen
On Tue, May 12, 2009 at 8:59 AM, Sorin Ristache <sorin(a)oxygenxml.com> wrote:
> Hello,
>
> The HTML chunks are created in the folder set with the parameter base.dir.
> If you do not set the parameter the chunks are created in the folder of the
> XSLT stylesheet as for any relative file path specified in an XSLT
> stylesheet.
>
> For example you can duplicate the Docbook HTML scenario, change the XSL URL
> to ${frameworks}/docbook/xsl/html/chunk.xsl and set the output directory in
> the base.dir parameter:
>
> base.dir=D:/temp/test/docbook/
>
> Maybe we should add a predefined scenario called Docbook HTML - Chunking.
>
>
> Regards,
> Sorin
>
>
> Karen Schneider wrote:
>
>> I can use DocBook chunk.xsl successfully outside of oXygen which is why I
>> ask this here. I have read the documentation but assume I am
>> overlooking/misinterpreting something (probably obvious...). I set up a
>> transform that under XSLT/XSL URL says:
>>
>> ${frameworks}/docbook/xsl/html/chunk.xsl
>>
>> I have left output alone. Running either Saxon 6.5.5 or xsltproc on valid
>> DocBook 5 files, the transform produces completely empty files--not even
>> declarations or anything, just foo.html without anything in them.
>>
>> Thanks again for yesterday's help!
>>
>> --
>> --
>> | Karen G. Schneider
>> | Community Librarian
>> | Equinox Software Inc. "The Evergreen Experts"
>> | Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
>> | kgs(a)esilibrary.com <mailto:kgs@esilibrary.com>
>> | Web: http://www.esilibrary.com
>> | Be a part of the Evergreen International Conference, May 20-22, 2009!
>> | http://www.lyrasis.org/evergreen
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user(a)oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
--
--
| Karen G. Schneider
| Community Librarian
| Equinox Software Inc. "The Evergreen Experts"
| Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
| kgs(a)esilibrary.com
| Web: http://www.esilibrary.com
| Be a part of the Evergreen International Conference, May 20-22, 2009!
| http://www.lyrasis.org/evergreen
I can use DocBook chunk.xsl successfully outside of oXygen which is why I
ask this here. I have read the documentation but assume I am
overlooking/misinterpreting something (probably obvious...). I set up a
transform that under XSLT/XSL URL says:
${frameworks}/docbook/xsl/html/chunk.xsl
I have left output alone. Running either Saxon 6.5.5 or xsltproc on valid
DocBook 5 files, the transform produces completely empty files--not even
declarations or anything, just foo.html without anything in them.
Thanks again for yesterday's help!
--
--
| Karen G. Schneider
| Community Librarian
| Equinox Software Inc. "The Evergreen Experts"
| Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
| kgs(a)esilibrary.com
| Web: http://www.esilibrary.com
| Be a part of the Evergreen International Conference, May 20-22, 2009!
| http://www.lyrasis.org/evergreen
Hello,
Often when I copy and paste HTML code from somewhere, and edit the
resulting page in Oxygen, I get a validation error in
http://www.w3.org/TR/html4/strict.dtd
For example, when the DOCTYPE at the beginning says
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
I get the validation error:
F [Xerces] The declaration for the entity "ContentType" must end with '>'.
If I click on this error message, it takes me not to my html document,
but to http://www.w3.org/TR/html4/strict.dtd, to the following declaration:
<!ENTITY % ContentType "CDATA"
-- media type, as per [RFC2045]
-->
The middle of those three lines is highlighted.
I could understand if something in my own HTML were invalid; but this
appears to be saying that the standard DTD provided by W3C is not
well-formed.
I'm not a DTD guru, but I would be very surprised if that were the case.
Is this a Xalan bug, then?
This is not a showstopper for me, but it does make it more complicated
for me to do validation on the html I'm writing.
Thanks,
Lars
Hi all, I am new to oXygen and am trying to wrap my head around an
XInclude question. I'm planning a proof-of-concept project for
DocBook. My local environment is Windows XP and I am committing files
to our Linux-based public repository via svn.
where all hrefs are in the same subdirectory it's easy to see how to
do this. I'm trying to clarify how to make this happen in Docbook
using oXygen (and -- where this becomes an oXygen question -- get them
to validate). In the xi:include statements, do I use a pattern of
file:///directory/filename.xml ...?
I include a snippet of work in progress, if that helps clarify my question.
<?xml version="1.0" encoding="utf-8"?>
<book version="5.0" xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude">
... etc. ...
<xi:include href="/Intro/Introduction.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="/Installation/Installation.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="/Sysadmin/Administration.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
--
--
| Karen G. Schneider
| Community Librarian
| Equinox Software Inc. "The Evergreen Experts"
| Toll-free: 1.877.Open.ILS (1.877.673.6457) x712
| kgs(a)esilibrary.com
| Web: http://www.esilibrary.com
| Be a part of the Evergreen International Conference, May 20-22, 2009!
| http://www.lyrasis.org/evergreen
I've been playing around with setting up a CSS for editing XML entity
catalogs. I can of course display all the attribute values but changing them
requires using the attribute editor, which is a bit unnatural in this case,
since all the important info is in attributes.
I'm wondering if it's possible or if it could be possible to configure
Author through CSS to allow editing of specific attribute values in the
editing page?
Thanks,
Eliot
----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email: ekimber(a)reallysi.com <mailto:ekimber@reallysi.com>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>
Hi,
I work on several projects within oXygen, all using the project
level preferences. But I have several scenarii that I use for
all projects (XSLStyle, XSpec, etc.) Is there any way to add
scenarii at the global level, without impacting current project,
and being usable in all projects?
If I select "global scenarios" in the "configure transformation
scenarios" action, I get the following warning:
The scenarios will be cleared from the <oXygen/> project file
when you save the project.
Regards,
--
Florent Georges
http://www.fgeorges.org/
Hi there,
I tried to open some large XML files in Oxygen and it gives me the error
that I have to give'm more memory (error message in german):
----------
Bitte starten Sie neu, nachdem Sie mehr Speicher alloziiert für oxygen.
Dafür den Parameter -Xmx im Startskript ändern, beispielsweise -Xmx700m.
Falls Sie ein Diff Tool ausgeführt haben als das Problem auftrat, können
Sie das nächste mal versuchen einen anderen Algorithmus zu verwenden.
Weitere Details im Benutzerhandbuch unter 'Performance problems' und
'Setting a parameter in the startup script'.
----------
But when I go to the "Oxygen" folder in "Applications" on Mac OS X, I
can't identify the script where I have to do this changes?
Thanks for any help,
Tom
--
Thomas Zastrow
Seminar fuer Sprachwissenschaft
Universitaet Tuebingen
Wilhelm Str. 19
D-72074 Tuebingen
http://www.thomas-zastrow.de
Tel.: 07071/29-73968
Fax: 07071/29-5214
Is it possible to have the editor view assocation on a per-editor basis? For
example, I want to use Author for most XML, but some docs, such as XML
catalogs, are more effectively edited in the grid view.
Thanks,
Eliot
----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email: ekimber(a)reallysi.com <mailto:ekimber@reallysi.com>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>