I'm having a terrible time integrating my own XSLT with the Orbeon XSLT. This template is what seems to be making life difficult, and I don't know how to work around it: <!-- Simply copy everything that's not matched -->The XSLT file that has this template includes my XSLT, which gets a lower precedence. If I comment this template out, my XSLT works, but then the form breaks. My understanding is that templates in imported files always get the lowest precedence. I've tried moving this template out to another file and importing it, but it still seems to get a higher priority than the templates in my imported file. My XSLT file looks like this, with the parts that seem to be getting affected boldfaced: <?xml version="1.0" encoding="UTF-8"?>The hacked Orbeon XSLT looks like this, with the parts related to my XSLT boldfaced: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"Can anyone help please? Thanks, -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Have you used <xsl:include to import at the same precedence?! ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539
2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] From:
Jim Logan [mailto:[hidden email]]
<!-- Simply copy everything that's not
matched --> The XSLT file that has this template includes my XSLT, which
gets a lower precedence. If I comment this template out, my XSLT works, but
then the form breaks. <?xml version="1.0"
encoding="UTF-8"?> The hacked Orbeon XSLT looks like this, with the parts
related to my XSLT boldfaced: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" Can anyone help please? _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Ryan Puddephatt wrote:
Yes, I did try that and got the same result, which was unexpected! Thanks, -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Jim Logan wrote:
Ryan Puddephatt wrote:I did get something to work, although I don't know why it works. I moved the template matching "@*|node()" into the included XSLT file. That seems to work without bothering my other uses of the XSLT.Yes, I did try that and got the same result, which was unexpected! BUT... Things are still not working quite right because no CSS files seem to be loading. I've tried just the file name, I've tried prefixing the file name with "oxf:/config/", and I've tried prefixing the file name with "/config/". Any other ideas? Thanks, -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Jim,
On Thu, Oct 16, 2008 at 12:20 PM, Jim Logan <[hidden email]> wrote: > Things are still not working quite right because no CSS files seem to be > loading. I've tried just the file name, I've tried prefixing the file name > with "oxf:/config/", and I've tried prefixing the file name with "/config/". > Any other ideas? CSS are not loaded by the browser? Are they linked in the generated HTML? Is the link what you would expect it to be? I am not sure we have enough information at this point to be able to help. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Alessandro Vernet wrote:
> Jim, > > On Thu, Oct 16, 2008 at 12:20 PM, Jim Logan <[hidden email]> > wrote: >> Things are still not working quite right because no CSS files seem to be >> loading. I've tried just the file name, I've tried prefixing the file >> name >> with "oxf:/config/", and I've tried prefixing the file name with >> "/config/". >> Any other ideas? > > CSS are not loaded by the browser? Are they linked in the generated > HTML? Is the link what you would expect it to be? I am not sure we > have enough information at this point to be able to help. > > Alex CSS. I expected them to get rewritten. That may be why I'm having trouble. Thanks, -Jim -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |