OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] NullPointerException

[ Lists Home | Date Index | Thread Index ]

Hi Yvonne,

Just enclose the

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
...
</fo:root>

in <xsl:template match="/"> ... </xsl:template>

and you should get your desired output.

I did not mean that someone is bothered by your message only that you will
get better help on the xsl list.

Best Regards,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@oxygenxml.com
<oXygen/> XML Editor - http://www.oxygenxml.com/


----- Original Message -----
From: "Yvonne Aburrow" <Y.Aburrow@bath.ac.uk>
To: <xml-dev@lists.xml.org>
Sent: Thursday, February 12, 2004 5:04 PM
Subject: Re: [xml-dev] NullPointerException


> Thanks.  Actually the &copy; entity is not the cause of the
> NullPointerException. Sorry for bothering this list if it is not the right
> place to discuss these issues.
>
> Yvonne
>
> --On 12 February 2004 17:07 +0200 George Cristian Bina <george@sync.ro>
> wrote:
>
> > Hi Yvonne,
> >
> >> I tried
> >> validating it with the FO DTD offered by RenderX, but it was no help
(it
> >> threw an error at <xsl:stylesheet>).
> >
> > The validation of a stylesheet is performed in general by an XSLT
> > processor. For instance in a JAXP based environment you can try to
create
> > a Transformer object from that stylesheet. Your XSL file is not even
> > wellformed:
> >
> > SystemID: http://people.bath.ac.uk/ccsya/library/libraryguides.xsl
> > Location: 15:1
> > Description: F The entity "copy" was referenced, but not declared.
> >
> > Line 15: <fo:block padding-before="0.5in" space-start="0.5in"
> > padding-start="0.75in">&copy; 2004 Library and Learning Centre,
> > University of Bath</fo:block>
> >
> > Try replacing &copy; with &#169;
> >
> > However such questions are better asked on the xsl list
> > http://www.mulberrytech.com/xsl/xsl-list or on the support channels of
the
> > specific tools you are using.
> >
> > Hope that helps,
> >  George
> > -------------------------------------------------------------
> > George Cristian Bina mailto:george@oxygenxml.com
> > <oXygen/> XML Editor - http://www.oxygenxml.com/
> >
>
>
>
> Yvonne
>
> **************************************************************
> Yvonne Aburrow         Web Developer             01225 38 6022
> Computing Services   University of Bath   Y.Aburrow@bath.ac.uk
> http://www.bath.ac.uk/bucs       http://people.bath.ac.uk/ccsya
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS