On 08/09/05, Guillon Benoit <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm having troubles with the xmerge framework when I try to export a sxw
> document using an XSL stylesheet. When I start my Java application
> outside OpenOffice everything works fine but when I use it as a filter
> in OOo 1.1.4, the XPATH expressions do not match when I use namespaces
> but match when I don't use namespaces.
> 
> Example:
> <xsl:value-of select="count(/document-content/*)"/> will return 0

> It must be a problem of XML parser configuration but I really don't know
> where I can fix it.

what namespace is the local-element 'document-content' in?
Have you declared a namespace prefix for that namespace?

No idea how you do it in java, but it's easy in XSLT.

HTH


-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to