W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2009

XSLT Problem: unresolved elements

From: Sam Fuqua <samfuqua@gmail.com>
Date: Thu, 30 Apr 2009 10:30:30 -0400
Message-ID: <e0af82400904300730i61956e86v59e6771d7c7fe47c@mail.gmail.com>
To: www-xsl-fo@w3.org
Hi,

I'm having a problem with resolving elements in a transformation from xml to
fo.  My transform works under OSX, but does not work under Linux or
Windows.  My setup is as follows:

My xml:
<mydata>
  <propA>1</propA>
  <propB>2</propB>
  <dataBody>
    <dataElA>abc</dataElA>
    ...
  </dataBody>
</mydata>

That's really just an outline, of course.  In my xsl, I test the value of
propA, and depending on the value I either create a new page-sequence and
apply the template for dataBody inside of that, or I just apply the template
for dataBody.  This works on a mac.  Under Linux and Windows, I cannot seem
to resolve propA and propB either absolutely or relatively.  I am using the
apache xml-apis and xalan on Java 1.5.

Can anybody help?

-- 
Sam Fuqua
  454
Received on Thursday, 30 April 2009 14:31:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 30 April 2009 14:31:08 GMT