embedded SVG in XML not showing up

2003-05-07 Thread Louis . Masters
I am running into an issue displaying SVG graphics.  If I directly embed
svg code in ml XSL, the graphic displays fine.  When I have SVG code in the
XML file that I want transformed, it does not show up on the PDF.  For
example, my XML looks like this:

tablecell
egraphic
svg width=800 height=400 xmlns=http://www.w3.org/2000/svg;
g stroke=black stroke-width=1
rect x=1 y=1 width=798 height=398 fill=none/
/g
/svg
/egraphic
/tablecell


If this is more of an XPath/Xalan issue, just say so and I will send it to
their newsgroup.  I just wanted to see if this is an issue with PDFs or
something special I have to do to get this to render.

-Lou


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



RE: embedded SVG in XML not showing up

2003-05-07 Thread Victor Mote
Louis Masters wrote:

 I am running into an issue displaying SVG graphics.  If I directly embed
 svg code in ml XSL, the graphic displays fine.  When I have SVG
 code in the
 XML file that I want transformed, it does not show up on the PDF.  For
 example, my XML looks like this:

If I understand you, this is probably a problem with your transformation.
See:
http://xml.apache.org/fop/running.html#check-input
for instructions about how to use xalan to check the actual XSL-FO file. If
the SVG does NOT show up there correctly, then you need to go back to your
stylesheet  find out why not. Here are some resources that might help:
mailing list
http://xml.apache.org/fop/resources.html#mailing-lists-xslt-mulberry
spec http://xml.apache.org/fop/resources.html#specs-xslt
documents http://xml.apache.org/fop/resources.html#documents-xslt

If, on the other hand, the SVG is in the XFL-FO correctly, then post an
appropriate snippet of that document.

Victor Mote


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