Juergen Lippold wrote:
> - With the namespace attribute I don't need to specify the attribute xmlns:fo
>anymore right?
> It's running without the setting (uncomment in code.)
I think so, because you need namespace, not attribute and imho there is no way
in dom1/dom2 to set just namespace node
Hy, many thank for the help, It's running :-)))
but there are still two more question:
- With the namespace attribute I don't need to specify the attribute xmlns:fo anymore
right?
It's running without the setting (uncomment in code.)
private Element createChildNS(Node node, Document doc
Juergen Lippold wrote:
> Element element = doc.createElement(elm);
As Keiron pointed out, it should be
Element element = doc.createElementNS("http://www.w3.org/1999/XSL/Format";, elm);
--
Oleg Tkachenko
Multiconn International, Israel
--
On Wed, 2002-06-05 at 08:45, Juergen Lippold wrote:
> OK so let's start,
>
> now I have got a Method to create the document, after this part I add some rows and
>colomns to the table.
> So I'm allways adding Elements with or without attributes.
> The result is the fo-file I already sent.
>
>
OK so let's start,
now I have got a Method to create the document, after this part I add some rows and
colomns to the table.
So I'm allways adding Elements with or without attributes.
The result is the fo-file I already sent.
protected Document createMyDocument() {
DocumentBuilderFactory
Juergen Lippold wrote:
> I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly
>to a PDF-File.
> The following code is running if I use the x.fo-File written to the harddisk.
> Using the document from memory I get an error:
>
> [INFO]: building formatting object
Juergen Lippold wrote:
> namespaceAware doesn't make a differnce. No matter if true or false.
Well, I'm out of ideas, lets go inside - show us how do you build Document.
--
Oleg Tkachenko
Multiconn International, Israel
-
To
Hello Oleg,
namespaceAware doesn't make a differnce. No matter if true or false.
Regards,
Juergen Lippold
>>> [EMAIL PROTECTED] 04.06.2002 13.46 Uhr >>>
Juergen Lippold wrote:
> thats a good question, I hope that the document is ok. Can I check if the document
>in memory is a fop-formatted
Juergen Lippold wrote:
> thats a good question, I hope that the document is ok. Can I check if the document
>in memory is a fop-formatted document?
> Writing the fo-document to harddisk and then using fop everything is ok.
AFAIR this problem always happens when one builds Document using
nonnam
But then, probably it's a namespace problem. You've probably got the
namespace declaration as a normal attribute in the DOM which (as far as
I know) doesn't automatically get translated into namespace SAX events.
And that's what FOP works on. So I'd verify that you've got a
namespace-enabled DOM a
Hello,
thats a good question, I hope that the document is ok. Can I check if the document in
memory is a fop-formatted document?
Writing the fo-document to harddisk and then using fop everything is ok.
Juergen
This is the document from harddisk:
http://www.w3.org/1999/XSL/Format";>
Juergen Lippold wrote:
> Hello,
>
> I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly
>to a PDF-File.
> The following code is running if I use the x.fo-File written to the harddisk.
> Using the document from memory I get an error:
>
> [INFO]: building forma
Hello,
I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly to
a PDF-File.
The following code is running if I use the x.fo-File written to the harddisk.
Using the document from memory I get an error:
[INFO]: building formatting object tree
[ERROR]: Unknown for
13 matches
Mail list logo