Search found 18 matches

by alyxandr
Tue May 15, 2012 9:19 pm
Forum: XSLT and FOP
Topic: Scheduled transforms?
Replies: 1
Views: 1711

Scheduled transforms?

I need to automatically run a transform on a nightly basis, using an uncrippled version of Saxon. (My xsl makes heavy use of java.lang.Math) 1) Can I do that in oXygen? 2a) If not, can I do it from a shell script that calls oXygen's Saxon library? 2b) Is that even allowed by my license? Worst case I...
by alyxandr
Mon Apr 30, 2012 7:47 pm
Forum: XSLT and FOP
Topic: Q about node-set comparisons, or casting, or maybe variables
Replies: 2
Views: 1939

Re: Q about node-set comparisons, or casting, or maybe variables

It sounds so simple when you say it... :oops:
I am no longer (as) confused about context-in-predicates, thanks! --alex.
by alyxandr
Sun Apr 29, 2012 10:22 pm
Forum: XSLT and FOP
Topic: Q about node-set comparisons, or casting, or maybe variables
Replies: 2
Views: 1939

Q about node-set comparisons, or casting, or maybe variables

It would help if I even knew what sort of question it was... could someone please gently explain to me what's happening here: <types good="A"> <type>A</type> <type>B</type> <type>A</type> <type>C</type> </types> <xsl:template match="types"> <xsl:message select="concat('1: Go...
by alyxandr
Wed Apr 18, 2012 7:11 pm
Forum: XSLT and FOP
Topic: Finding depth in output tree?
Replies: 2
Views: 1959

Re: Finding depth in output tree?

Thanks! I've ended up being able to pass a parameter, which gets one added to it when calling apply-templates, but it's comforting to know that i wasn't missing something obvious. --alex.
by alyxandr
Thu Apr 12, 2012 8:10 pm
Forum: XSLT and FOP
Topic: Finding depth in output tree?
Replies: 2
Views: 1959

Finding depth in output tree?

Hi all, count(ancestor-or-self::*) yields your current depth in the input tree -- is there anything similar that will tell you at what level in the output tree the current template is generating tags? Or would this require some sort of precognition in the XSLT processor? (I'm asking on behalf of an ...
by alyxandr
Thu Apr 12, 2012 8:00 pm
Forum: XHTML
Topic: Writing void tags in HTML5
Replies: 5
Views: 10188

Re: Writing void tags in HTML5

OK, my namespaces weren't propagating through template calls correctly, so i was getting a xmlns="" in my head tag that was messing things up. Thanks much for the help. --alex.
by alyxandr
Wed Apr 11, 2012 7:29 pm
Forum: Common Problems
Topic: SVG CSS validation not working?
Replies: 6
Views: 3478

Re: SVG CSS validation not working?

Thanks! Some way to switch profiles on a per-css-file basis, instead of just picking one globally, would be nice too, although i'm not sure how such a thing would be done. --alex.
by alyxandr
Wed Apr 11, 2012 1:44 am
Forum: Common Problems
Topic: SVG CSS validation not working?
Replies: 6
Views: 3478

Re: SVG CSS validation not working?

Bump. The CSS Validator profile "SVG" still doesn't recognize "stroke" or "fill" as of v13.2.
by alyxandr
Tue Apr 10, 2012 7:17 pm
Forum: XHTML
Topic: Writing void tags in HTML5
Replies: 5
Views: 10188

Re: Writing void tags in HTML5

Tried that, thanks, but made no difference -- still resulted in stray end tags for <link> and <meta>. Fortunately, method="xml" is working fine. Is there any documentation around on the ugly details of method="xhtml"? My XSLT books are pretty reticent on the subject, and it's alw...
by alyxandr
Tue Apr 10, 2012 1:18 am
Forum: XHTML
Topic: Writing void tags in HTML5
Replies: 5
Views: 10188

Re: Writing void tags in HTML5

OK, looks like the easiest way to solve this is xsl:result-document method="xml", which turns off Trying-To-Be-Helpful Mode and gives you what you'd expect. So, this works: <xsl:template match="page"> <xsl:result-document method="xml" href="{@href}" omit-xml-d...
by alyxandr
Mon Apr 09, 2012 10:46 pm
Forum: XHTML
Topic: Writing void tags in HTML5
Replies: 5
Views: 10188

Writing void tags in HTML5

Hi all, I'm trying to generate HTML5 (oXygen Developer 13.2, Saxon-EE 9.3.0.5), and my transform is turning void tags into end-tag style, which breaks things like <link/> and <meta/>. Is there an elegant way to get it to stop doing that, or am i stuck with something like <xsl:text disable-output-esc...
by alyxandr
Wed Aug 26, 2009 6:54 pm
Forum: Other Issues
Topic: Long select attributes of xsl:variable and xsl:value-of
Replies: 2
Views: 1991

Long select attributes of xsl:variable and xsl:value-of

This might be more of a general XML/XSL question than one specific to oXygen, for which i apologize, but is there an aesthetically acceptable way to format long bits of xpath (which can happen a lot in XSLT 2.0) in select attributes, in a way that will be preserved? The XML spec apparently states th...
by alyxandr
Sun Aug 16, 2009 10:22 pm
Forum: Other Issues
Topic: Simple command macros?
Replies: 1
Views: 2940

Simple command macros?

Hi all, The more i use oXygen, the more i find myself repeating certain short chains of commands -- for example, (Save, Apply Transformation Scenario) or (Open, Format and Indent). Is there any way of automating these within oXygen? Failing that, if it's not too off-topic, can anyone recommend a fai...
by alyxandr
Mon Aug 10, 2009 7:16 pm
Forum: Common Problems
Topic: SVG CSS validation not working?
Replies: 6
Views: 3478

Re: SVG CSS validation not working?

Thank you. I have to say that, in my so far limited experience with it, this is far and away the most helpful and informative product support forum i've ever had the pleasure to use.
by alyxandr
Sat Aug 08, 2009 10:32 pm
Forum: Common Problems
Topic: SVG CSS validation not working?
Replies: 6
Views: 3478

SVG CSS validation not working?

Hello, I set Options > Preferences > CSS Validator > Profile to "SVG", but it still complains about setting things like fill and stroke in shapes. For example, circle { stroke: black; } path { fill: blue; } yields: E [W3C CSS Validator] Context : circle in property : stroke Unrecognized - ...
by alyxandr
Tue Aug 04, 2009 11:27 pm
Forum: Other Issues
Topic: Can the result of an XSLT be saved to the eXist database?
Replies: 3
Views: 1818

Can the result of an XSLT be saved to the eXist database?

Hello, I've got a working connection to an eXist db (V1.2.6), and i can successfully load & save files from it. The only thing i haven't been able to figure out how to do is save the result of an XSL transform to the db - when i enter a oxygen URL in Edit Scenario > Output tab > Save As (for exa...
by alyxandr
Sat Aug 01, 2009 7:55 pm
Forum: Common Problems
Topic: Help file font size
Replies: 14
Views: 5359

Re: Help file font size

Same problem, on WinXP SP3, oXygen 10.3, and IE8 which doesn't work at all but crashes silently w/out activating the Windows crash reporting mechanism. Nice.