Search found 264 matches

by sderrick
Thu Jun 09, 2011 11:08 pm
Forum: XSLT and FOP
Topic: What are these ???
Replies: 8
Views: 6172

What are these ???

I applied a transform I haven't used a while, this is an xml to xml transform. For the first time I am now getting &#x1e;&#x1e;&#x1e; inserted after every opening tag???? here is the original <publicationStmt> <publisher>The Writings of Mary Baker Eddy</publisher> </publicationStmt> <sou...
by sderrick
Mon May 30, 2011 5:26 pm
Forum: Other Issues
Topic: Supress CSS Validator error?
Replies: 2
Views: 1657

Re: Supress CSS Validator error?

Radu,

I figured Oxygen was using W3C spec.

I just though there might have been built in "ignore" list or something like that.

thanks,

Scott
by sderrick
Sat May 28, 2011 1:02 am
Forum: Other Issues
Topic: Supress CSS Validator error?
Replies: 2
Views: 1657

Supress CSS Validator error?

I am using two css attributes that oxygen is flagging as errors -webkit-hyphens: none; adobe-text-layout: optimizeSpeed; the errors E [W3C CSS Validator] Context : .marginnote in property : -webkit-hyphens Property -webkit-hyphens doesn't exist : none E [W3C CSS Validator] Context : .marginnote in p...
by sderrick
Mon May 02, 2011 5:36 pm
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3438

Re: Oxygen overwrote xsl script during debugging session

Ah, sounds good to me!

Oxygen is one of the finest editors I've used in my 25 years of software development. And the technical support is awesome!

thanks,

Scott
by sderrick
Mon May 02, 2011 5:14 pm
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3438

Re: Oxygen overwrote xsl script during debugging session

George,

thanks for the prompt reply.

Glad to hear you guys are on top of it!

I think my license expires in 16 days! Hurry up! :D

Scott
by sderrick
Mon May 02, 2011 4:23 pm
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3438

Re: Oxygen overwrote xsl script during debugging session

I have found a solution to my problem, though it doesn't prevent the bug in the editor from overwriting someboys script in the future. :cry: I was reading the spec for <output..> and realized I can have more than one definition! One that is named to pass to <result-document>(multiple output) and an ...
by sderrick
Mon May 02, 2011 4:07 pm
Forum: XSLT and FOP
Topic: XSLT transforming BR tag into <br></br>
Replies: 3
Views: 10455

Re: XSLT transforming BR tag into <br></br>

Thanks Adrian,

and wilco

Scott
by sderrick
Sat Apr 30, 2011 7:26 am
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3438

Re: Oxygen overwrote xsl script during debugging session

I have a little more information on this data loss problem. MY script generates a single document or splits the output into multiple documents depending on a parameter. So I am using result-document for both type of output so I can pass in the named <output...> my two result-document calls multiple ...
by sderrick
Sat Apr 30, 2011 6:02 am
Forum: XSLT and FOP
Topic: XSLT transforming BR tag into <br></br>
Replies: 3
Views: 10455

Re: XSLT transforming BR tag into <br></br>

SOLVED!!!

Code: Select all


 <xsl:value-of disable-output-escaping="yes"><br/></xsl:value-of>
ouputs <br/> into the xhtml !!

woohoo!
by sderrick
Sat Apr 30, 2011 5:42 am
Forum: XSLT and FOP
Topic: XSLT transforming BR tag into <br></br>
Replies: 3
Views: 10455

XSLT transforming BR tag into <br></br>

In my xsl script I specify the output in a certain template as <br/> My output must be well formed xhtml, I've tried xhtml and xml as the output method both output <br></br> which most browsers interpret as two break tags. Can I get the saxon PE parser to emit <br/> instead of <br></br> ? I can't us...
by sderrick
Sat Apr 30, 2011 5:30 am
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3438

Oxygen overwrote xsl script during debugging session

I'm sure I must have hit some button inadvertently but it was a surprise and potentially very costly mistake. I was debugging an xsl acript, the debugger view started as usual, 3 main views, on the left was the source xml document, in the middle was the xsl script, on the right was the empty pane th...
by sderrick
Fri Apr 29, 2011 8:28 pm
Forum: Other Issues
Topic: Document/Source/Format and Indent
Replies: 2
Views: 1550

Re: Document/Source/Format and Indent

Adrian,

You are perfectly correct!

I hadn't noticed that it closed the tag so /> I thought it had just dropped the closing tag..

Sorry for the false alarm.

and thank you for the help,

Scott
by sderrick
Thu Apr 28, 2011 7:40 pm
Forum: Other Issues
Topic: Document/Source/Format and Indent
Replies: 2
Views: 1550

Document/Source/Format and Indent

I load up a well formed xhtml or html document I select Document/Source/Format and Indent or press Ctl-Shft-P The previous existing closing <meta....</meta> and <link>..</link> tags are gone??? Is there a setting somewhere to tell Oxygen to not remove closing tags when it reformats a html or xhtml f...
by sderrick
Thu Apr 28, 2011 7:25 pm
Forum: XSLT and FOP
Topic: Missing closing /link and /meta tags in output?
Replies: 7
Views: 7571

Re: Missing closing /link and /meta tags in output?

Oooppss!!

Disregard, pilot error...

Working now as expected....

thanks,

Scott
by sderrick
Thu Apr 28, 2011 6:47 pm
Forum: XSLT and FOP
Topic: Missing closing /link and /meta tags in output?
Replies: 7
Views: 7571

Re: Missing closing /link and /meta tags in output?

I spoke too soon! If I remove the name attribute from <xsl:output name="csps-xhtml" method="xhtml"/> like so <xsl:output method="xhtml"/> and call result-document without a format="csps-xhtml" attribute like so <xsl:result-document href="{$filename}"...
by sderrick
Tue Apr 26, 2011 4:44 pm
Forum: XSLT and FOP
Topic: Kinduv-Off Topic
Replies: 3
Views: 1790

Re: Kinduv-Off Topic

Adrian, Actually Oxygen is working just fine. I wrote and tested the script in Oxygen. Then deployed it to production which uses ant to run the transforms. Thats where it uses almost 100 times as much time to run as in Oxygen. I have run it stand alone like so to verify it wasn't ant causing the pro...
by sderrick
Tue Apr 26, 2011 4:33 pm
Forum: XSLT and FOP
Topic: Missing closing /link and /meta tags in output?
Replies: 7
Views: 7571

Re: Missing closing /link and /meta tags in output?

That did it!

I am using xsl:result-document to split the result document into pieces. I call that function like this

<xsl:result-document href="{$filename}">
.....
</xsl:result-document>

and not pass in a named output. Any problems with that?

Scott
by sderrick
Tue Apr 26, 2011 2:47 am
Forum: XSLT and FOP
Topic: Kinduv-Off Topic
Replies: 3
Views: 1790

Kinduv-Off Topic

I have a script that runs fine as far as speed in Oxygen. But what takes a couple seconds in Oxygen takes 3 minutes on the command line? No indication of a failure? Its a very simple identity transform on html source document. Using the same version 9.3.04 EE in both. Any hints as to why? Is there a...
by sderrick
Mon Apr 25, 2011 9:57 pm
Forum: XSLT and FOP
Topic: Missing closing /link and /meta tags in output?
Replies: 7
Views: 7571

Re: Missing closing /link and /meta tags in output?

Adrian, The html post processing script. At this point its just a character map. I will be adding a few other things later. Here its.. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.or...
by sderrick
Mon Apr 25, 2011 8:25 pm
Forum: XSLT and FOP
Topic: Missing closing /link and /meta tags in output?
Replies: 7
Views: 7571

Missing closing /link and /meta tags in output?

I am generating xhtml files, my xsl file has output defined as so: <xsl:output method="xhtml" name="xhtml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="no"/> The main tem...
by sderrick
Mon Apr 25, 2011 8:06 pm
Forum: XSLT and FOP
Topic: Odd error at end of transform
Replies: 2
Views: 1673

Re: Odd error at end of transform

thanks Adrian,

found it...

Scott
by sderrick
Fri Apr 22, 2011 2:37 am
Forum: XSLT and FOP
Topic: Odd error at end of transform
Replies: 2
Views: 1673

Odd error at end of transform

I added a section to my style sheet to output multiple documents from a single input document, to create an epub or mobi style ebook output. using a for-each loop calling result-document for every chapter <xsl:result-document href="{$filename}" format="xhtml"> ..... </xsl:result-...
by sderrick
Mon Apr 18, 2011 4:15 pm
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2814

Re: Conditional Character map?

I bailed on the utility of having it in a single stylesheet and went with a kludge of having my character-maps in separate style sheets.

Not a neat and tidy as I'm used to when coding in a real programming language but it does work.

thanks for all the input.

Scott
by sderrick
Sun Apr 17, 2011 8:56 pm
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2814

Re: Conditional Character map?

Hmmm... Using translate() is going so well.. I tried declaring this <!DOCTYPE stylesheet [ <!ENTITY reg "<xsl:text disable-output-escaping='yes'> '&reg;' </xsl:text>"> ]> To allow me to use the &reg; entity, but that causes another error at the point of the &reg; .. F [Saxon-HE...
by sderrick
Sun Apr 17, 2011 7:21 pm
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2814

Replace unicode with html entitys; was

Instead of using character-map I am trying to use the translate function. Using this works well translate(.,"&#x2d;,'-') but this fails translate(.,'&#xae;,'&reg;') with F [Saxon-HE 9.3.0.4] The entity "reg" was not declared, but was referenced in the attribute "selec...
by sderrick
Thu Apr 14, 2011 1:38 am
Forum: XSLT and FOP
Topic: Conditional Character map?
Replies: 5
Views: 2814

Conditional Character map?

I need to generate output for different media targets from the same xml source. One of the targets is mobi pocket for the Kindle, with 1980's era markup capability. I have 10-15 unicode characters in the xml, like en-dashes, em-dashes, thin spaces, etc. that the kindle doesn't have support for in it...
by sderrick
Fri Mar 11, 2011 1:01 am
Forum: XSLT and FOP
Topic: saxon:character-representation="hex" doesn't work?
Replies: 2
Views: 2498

Re: saxon:character-representation="hex" doesn't work?

George, Excellent! using xmlns:saxon="http://saxon.sf.net/" for the saxon namespace fixed it! I don't know where I got the address I was using but it was not correct. thanks, Scott I cannot reproduce this, probably you have a wrong namespace for the saxom prefix. Please try the following s...
by sderrick
Thu Mar 10, 2011 10:37 pm
Forum: XSLT and FOP
Topic: saxon:character-representation="hex" doesn't work?
Replies: 2
Views: 2498

saxon:character-representation="hex" doesn't work?

I'm using Saxon PE 9.3, the version that comes with Oxygen 12.1 I have this near the top of my stylesheet <xsl:output method="xml" encoding="us-ascii" saxon:character-representation="hex"/> every place where I have a unicode char defined using hex like so <lb n="0&...
by sderrick
Thu Feb 10, 2011 8:58 pm
Forum: Common Problems
Topic: XSLT resource Problem in 12.1(crashes)
Replies: 10
Views: 3645

Re: XSLT resource Problem in 12.1(crashes)

Sorin,

Log file not generated because I have Oxygen installed on /opt directory

I reinstalled in my home directory(completely new install), copied new .jar, setup log file generation, ran transform, crashed and then sent you the log file via the link provided.
by sderrick
Thu Feb 10, 2011 8:18 pm
Forum: Common Problems
Topic: XSLT resource Problem in 12.1(crashes)
Replies: 10
Views: 3645

Re: XSLT resource Problem in 12.1(crashes)

Sorin, Still had excessive resource drain and crash, after renaming my options folder. Installed new oxygen.jar and created file. Ran transform which did crash after 3 minutes. No log files were generated? I sent in the log4j.properties file I created and a picture of the about box in a problem repo...