Search found 107 matches

by Zearin
Mon Oct 01, 2007 6:23 pm
Forum: XSLT and FOP
Topic: 1 + 1 (included) XML file … 2 XSL … 1 Ant buildfile
Replies: 4
Views: 4221

Hmm...

Well, I'm now trying to import the second stylesheet, and it does not appear to have any effect on the output at present. The import statement is: <xsl:import href="transcript.xsl" /> And the included XML file is included like so: <xi:include href="transcript.xml" /> The two XML ...
by Zearin
Thu Sep 27, 2007 11:46 pm
Forum: XSLT and FOP
Topic: 1 + 1 (included) XML file … 2 XSL … 1 Ant buildfile
Replies: 4
Views: 4221

1 + 1 (included) XML file … 2 XSL … 1 Ant buildfile

So, I have 2 XML files with an XSL file for each one. I've performed these transformations individually and everything works AOK. So now I have one XML file including the second one, but I still want the second one to use its own stylesheet--not the parent's stylesheet. Finally, I'm learning Ant (wh...
by Zearin
Fri Sep 21, 2007 5:30 pm
Forum: XML Schemas
Topic: vCards in XML
Replies: 5
Views: 10156

vCards in XML

There's a W3C "Note" on representing vCards in RDF here: http://www.w3.org/TR/vcard-rdf I know how to get Oxygen to associate an XML Schema with an XML document, but I have absolutely no experience with RDF. The document linked above does have an XMLNS mentioned, but this does not seem to ...
by Zearin
Tue Sep 18, 2007 9:55 pm
Forum: XSLT and FOP
Topic: Formatting omitted from XSL-FO transformation
Replies: 6
Views: 5035

THREE CHEERS!

YOU DID IT! :D :D :D

Thank you SO much. I've been stuck on this item for about two weeks! And best of all it's a ridiculously easy fix.

Thank you so much! May you find happiness in life! :D


-- Z
by Zearin
Tue Sep 18, 2007 9:29 pm
Forum: XSLT and FOP
Topic: Formatting omitted from XSL-FO transformation
Replies: 6
Views: 5035

Hmmm…

So, in my DocBook file, the DocBook schema was set as the default namespace.

Do I absolutely have to assign it to a namespace in the stylesheet? Is it not possible for me to specify that any elements without a namespace belong to X, Y, or Z ns?
by Zearin
Fri Sep 14, 2007 2:47 pm
Forum: XSLT and FOP
Topic: Formatting omitted from XSL-FO transformation
Replies: 6
Views: 5035

Bump

Does anybody know what's happening with this faulty transformation?
by Zearin
Tue Sep 11, 2007 5:51 am
Forum: XSLT and FOP
Topic: XSL-FO results in all <fo:block> elements
Replies: 0
Views: 4387

XSL-FO results in all <fo:block> elements

So, I have an XML file (Docbook 5 CR 5). I have an XSL-FO stylesheet. And I have the resulting document from an XSL transformation. It's an FO document alright, but it once it gets to the first fo:flow, it's all <fo:blocks>. Here's the XML: <?xml version="1.0" encoding="UTF-8"?> ...
by Zearin
Mon Sep 10, 2007 9:49 pm
Forum: XSLT and FOP
Topic: Formatting omitted from XSL-FO transformation
Replies: 6
Views: 5035

Nope.

So, I changed the transformation setup so that instead of outputting a PDF, it outputs an FO file and opens it in the editor so that I can see what's going on. It appears that no attributes are making it into the resulting FO document whatsoever. Furthermore, everything is in <fo:block> elements. Wh...
by Zearin
Mon Sep 10, 2007 7:14 pm
Forum: XSLT and FOP
Topic: Formatting omitted from XSL-FO transformation
Replies: 6
Views: 5035

Formatting omitted from XSL-FO transformation

I'm attempting to learn XSL-FO by starting completely minimalist: just one simple-page-master, and just one page-sequence. The source file is Docbook 5 CR5. So, my XSL file begins like this: <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- defi...
by Zearin
Mon Sep 10, 2007 4:52 pm
Forum: XSLT and FOP
Topic: How to get Content Assist for xmlns:fo when inside XSL?
Replies: 0
Views: 3946

How to get Content Assist for xmlns:fo when inside XSL?

I'm writing an XSL file that outputs FO code. The XSL content assist works fine, but the FO does not.

If I type invalid FO code, Oxygen will highlight it, but it doesn't provide content assist. Anybody know how I can turn it on?

Thanks.
by Zearin
Mon Sep 10, 2007 4:43 pm
Forum: XSLT and FOP
Topic: "Content not allowed in prolog"--what prolog???
Replies: 7
Views: 10170

So, kill it in XML?

Thanks to everyone for their excellent help. This forum is invaluable! Answers gratefully noted; but they lead me to new questions: does this mean it is safe to kill all BOMs in all XML documents? Also, in Oxygen→Preferences→Global , there is a BOM handling preference, with options as follows: "...
by Zearin
Mon Sep 10, 2007 4:09 pm
Forum: XSLT and FOP
Topic: "Content not allowed in prolog"--what prolog???
Replies: 7
Views: 10170

BOM is useful exaclty…where?

Hey, I opened all files in TextWrangler (a Mac-based fantastic text editor, completely free, and the "lite" version of the well-known BBEdit). TextWrangler has an extremely handy everpresent encoding option at the bottom of the window. It always lists the current encoding, and you can clic...
by Zearin
Wed Sep 05, 2007 5:12 pm
Forum: XSLT and FOP
Topic: "Content not allowed in prolog"--what prolog???
Replies: 7
Views: 10170

Hmmm....

Thanks for the quick reply! Is the BOM problem with the XML file or the XSL? Also, doesn't oXygen have a built-in way of dealing with this? It does a fantastic job of taking the gruntwork out of a lot of other things, but there doesn't seem to be an easy way change encoding (or BOMs) on already-exis...
by Zearin
Wed Sep 05, 2007 3:54 pm
Forum: XSLT and FOP
Topic: "Content not allowed in prolog"--what prolog???
Replies: 7
Views: 10170

"Content not allowed in prolog"--what prolog???

I keep getting this "Content not allowed in prolog" error when attempting to transform a Docbook XML file into a PDF (using FO). I don't know what prolog it's talking about, but it's becoming extremely frustrating, especially when it hasn't been this difficult to decipher errors when trans...
by Zearin
Fri Aug 17, 2007 7:12 pm
Forum: Other Issues
Topic: Integrating Ant into standalone oXygen
Replies: 8
Views: 6157

Integrating Ant into standalone oXygen

Hello, I'm running oXygen on a MacBook 13" OS X "Tiger" (10.4). I definitely have Ant installed (I've used it from Eclipse), and I have oXygen installed. However, when I look at the instructions for integrating Ant into oXygen, I'm confused. When I go to Preferences->External Tools, I...
by Zearin
Tue Jul 31, 2007 5:29 am
Forum: General XML Questions
Topic: What is XML Schema Instance (XSI)?
Replies: 1
Views: 36227

What is XML Schema Instance (XSI)?

Hey, I'm a longtime HTML/CSS junkie that has just become absolutely fascinated by the power of XML. What powerful things it can do! Anywho, I was interested in writing an XML file which would contain the <model> for an XForm. I noticed the autocomplete wasn't kicking in, even though I gave it the na...
by Zearin
Mon Jul 30, 2007 11:45 pm
Forum: Feature Request
Topic: Horizontal scrolling with trackpad (MacBook)
Replies: 1
Views: 3340

Horizontal scrolling with trackpad (MacBook)

Apple's notebooks all have the ability to scroll both vertically and horizontally by using 2 fingers on the trackpad. Vertical scrolling is mostly okay in oXygen (although I think I remember one or two spots where it didn't seem to work? Not 100% sure there…). However, horizontal scrolling via the...